diff options
| author | nyamatongwe <devnull@localhost> | 2010-06-26 00:06:06 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2010-06-26 00:06:06 +0000 |
| commit | 2956e6259b63bbe72db92286a4a3e16d63ebfac5 (patch) | |
| tree | 5097de29737b961504a33797915d900769c3f787 /macosx/PlatMacOSX.cxx | |
| parent | e567a0d1f146f412a14709e84420334f7febfbcd (diff) | |
| download | scintilla-mirror-2956e6259b63bbe72db92286a4a3e16d63ebfac5.tar.gz | |
Fix for bug #3021473, indicator fill alpha capped at 100.
Diffstat (limited to 'macosx/PlatMacOSX.cxx')
| -rw-r--r-- | macosx/PlatMacOSX.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/PlatMacOSX.cxx b/macosx/PlatMacOSX.cxx index d16913d78..8392b97cf 100644 --- a/macosx/PlatMacOSX.cxx +++ b/macosx/PlatMacOSX.cxx @@ -475,7 +475,7 @@ void Scintilla::SurfaceImpl::AlphaRectangle(PRectangle rc, int /*cornerSize*/, C ColourDesired colour( fill.AsLong() ); // Set the Fill color to match - CGContextSetRGBFillColor( gc, colour.GetRed() / 255.0, colour.GetGreen() / 255.0, colour.GetBlue() / 255.0, alphaFill / 100.0 ); + CGContextSetRGBFillColor( gc, colour.GetRed() / 255.0, colour.GetGreen() / 255.0, colour.GetBlue() / 255.0, alphaFill / 255.0 ); CGRect rect = PRectangleToCGRect( rc ); CGContextFillRect( gc, rect ); } |
