diff options
author | nyamatongwe <unknown> | 2010-06-26 00:06:06 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-06-26 00:06:06 +0000 |
commit | 33af0cdef8e363d1c68e3658169b5870e7b44503 (patch) | |
tree | 5097de29737b961504a33797915d900769c3f787 /macosx/PlatMacOSX.cxx | |
parent | c9672172dc7d26fb18098976863e83dd60e46760 (diff) | |
download | scintilla-mirror-33af0cdef8e363d1c68e3658169b5870e7b44503.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 ); } |