diff options
| author | Neil Hodgson <nyamatongwe@gmail.com> | 2021-05-25 20:07:03 +1000 |
|---|---|---|
| committer | Neil Hodgson <nyamatongwe@gmail.com> | 2021-05-25 20:07:03 +1000 |
| commit | 0b70de644baa922a46d960a0382bd24ddc387661 (patch) | |
| tree | 7763a0f3339a977040ba8373ebf6bedeb77257a4 | |
| parent | 92290868cf9753d2df0d494cb44e2ff62a570b58 (diff) | |
| download | scintilla-mirror-0b70de644baa922a46d960a0382bd24ddc387661.tar.gz | |
Fix old capitalisation of enum.
| -rw-r--r-- | cocoa/ScintillaCocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |
