From 0b70de644baa922a46d960a0382bd24ddc387661 Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Tue, 25 May 2021 20:07:03 +1000 Subject: Fix old capitalisation of enum. --- cocoa/ScintillaCocoa.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index 6baba72d9..1164b7253 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -2566,7 +2566,7 @@ void ScintillaCocoa::UpdateBaseElements() { if (@available(macOS 10.14, *)) { NSColor *textBack = [NSColor.textBackgroundColor colorUsingColorSpaceName: NSCalibratedRGBColorSpace]; NSColor *noFocusBack = [NSColor.unemphasizedSelectedTextBackgroundColor colorUsingColorSpaceName: NSCalibratedRGBColorSpace]; - if (vs.selection.layer == Layer::base) { + if (vs.selection.layer == Layer::Base) { NSColor *selBack = [NSColor.selectedTextBackgroundColor colorUsingColorSpaceName: NSCalibratedRGBColorSpace]; // Additional selection: blend with text background to make weaker version. NSColor *modified = [selBack blendedColorWithFraction:0.5 ofColor:textBack]; -- cgit v1.2.3