- fix: rainbow parenthesis stop functioning when change editor's general options

- make toolbar seperator lighter in dark themes
This commit is contained in:
royqh1979 2021-10-23 09:05:51 +08:00
parent 2d0e00beef
commit 15fd6aab03
3 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,6 @@
Version 0.7.2
- fix: rainbow parenthesis stop functioning when change editor's general options
Version 0.7.1 Version 0.7.1
- fix: can't add bookmark at a breakpoint line - fix: can't add bookmark at a breakpoint line
- fix: app name in the title bar not translated - fix: app name in the title bar not translated

View File

@ -3637,6 +3637,8 @@ void Editor::applySettings()
options.setFlag(eoScrollPastEof,pSettings->editor().scrollPastEof()); options.setFlag(eoScrollPastEof,pSettings->editor().scrollPastEof());
options.setFlag(eoScrollByOneLess,pSettings->editor().scrollByOneLess()); options.setFlag(eoScrollByOneLess,pSettings->editor().scrollByOneLess());
options.setFlag(eoHalfPageScroll,pSettings->editor().halfPageScroll()); options.setFlag(eoHalfPageScroll,pSettings->editor().halfPageScroll());
options.setFlag(eoHalfPageScroll,pSettings->editor().halfPageScroll());
options.setFlag(eoShowRainbowColor, pSettings->editor().rainbowParenthesis());
setOptions(options); setOptions(options);
setTabWidth(pSettings->editor().tabWidth()); setTabWidth(pSettings->editor().tabWidth());

View File

@ -114,7 +114,7 @@ static bool isMacSystemPalette(const QPalette &pal){
// Used for grip handles // Used for grip handles
static QColor calcDarkShade() { static QColor calcDarkShade() {
return QColor(255, 255, 255, 90); return QColor(255, 255, 255, 150);
} }
static QColor calcLightShade() { static QColor calcLightShade() {
return QColor(0, 0, 0, 60); return QColor(0, 0, 0, 60);