fix ace gutter and tab color not matching in flat-light theme

pull/467/head
nightwing 2017-11-15 00:09:55 +04:00
rodzic 76608d0bcd
commit c65107388c
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -547,6 +547,10 @@ define(function(require, exports, module) {
layout.on("themeChange", function(e) {
setFontSmoothing();
// reset this, since main theme can override ace theme colors
themeLoaded = {};
lastTheme = null;
setTheme(settings.get("user/ace/@theme"));
if (e.type !== "ace"
&& settings.get("user/ace/@theme") != defaultThemes[e.oldTheme])