mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Use a const reference for gutter colors
This commit is contained in:
@@ -340,7 +340,7 @@ private:
|
||||
}
|
||||
|
||||
[self setFont:textView.font]; // trigger update of gutter view’s line number font
|
||||
auto styles = theme->gutter_styles();
|
||||
auto const& styles = theme->gutter_styles();
|
||||
|
||||
gutterView.foregroundColor = [NSColor tmColorWithCGColor:styles.foreground];
|
||||
gutterView.backgroundColor = [NSColor tmColorWithCGColor:styles.background];
|
||||
|
||||
Reference in New Issue
Block a user