Forum > Lazarus Extra Components
mbColorLib typo in function GetBlue
(1/1)
indydev:
I was using mbColorLib and noticed that the property Blue was retreiving the wrong color (red). A look at the source reveals that the function GetBlue was calling GetRValue instead of GetBValue:
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---function THSLRingPicker.GetBlue: Integer;begin Result := GetRValue(FSelectedColor);end;
As this code is installed from the sourceforge ccr I couldn't figure out where notify a maintainer. The port to Lazarus was done by Werner Pamler
trev:
If you look at the Forum's left column, you should see a link for "CCR Bugs", follow the link and report the bug.
wp:
Fixed in the CCR version. Thanks for reporting.
Navigation
[0] Message Index