aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Indicator.cxx
diff options
context:
space:
mode:
authornyamatongwe <nyamatongwe@gmail.com>2012-07-21 16:57:24 +1000
committernyamatongwe <nyamatongwe@gmail.com>2012-07-21 16:57:24 +1000
commit7dcbdef9d6ae95e7c9232418d12195582faaa54b (patch)
treedbdbea4b99a427a3dec598bc49247e57b58654fa /src/Indicator.cxx
parent38dc2df4119595f2a553cec3f9b51adaa160c973 (diff)
downloadscintilla-mirror-7dcbdef9d6ae95e7c9232418d12195582faaa54b.tar.gz
Scale factor implemented for RGBAImages to allow for high definition markers on retina displays.
Diffstat (limited to 'src/Indicator.cxx')
-rw-r--r--src/Indicator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Indicator.cxx b/src/Indicator.cxx
index 9ea4024bb..bd17c3d1c 100644
--- a/src/Indicator.cxx
+++ b/src/Indicator.cxx
@@ -95,7 +95,7 @@ void Indicator::Draw(Surface *surface, const PRectangle &rc, const PRectangle &r
rcBox.right = rc.right;
// Cap width at 4000 to avoid large allocations when mistakes made
int width = Platform::Minimum(rcBox.Width(), 4000);
- RGBAImage image(width, rcBox.Height(), 0);
+ RGBAImage image(width, rcBox.Height(), 1.0, 0);
// Draw horizontal lines top and bottom
for (int x=0; x<width; x++) {
for (int y=0; y<rcBox.Height(); y += rcBox.Height()-1) {