Skip to content

Commit

Permalink
2色ならテキストに色をつけるのを全部やめてみる。どうするのがいいか。
Browse files Browse the repository at this point in the history
  • Loading branch information
isaki68k committed Jan 24, 2020
1 parent d1479c8 commit 7746eed
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions vala/sayaka.vala
Expand Up @@ -1811,6 +1811,14 @@ public class SayakaMain
string fav;
string gray;

// 2色ならテキストに色(も何の属性も)つけない
if (color_mode != ColorFixedX68k && color_mode <= 2) {
for (var i = 0; i < Color.Max; i++) {
color2esc[i] = "";
}
return;
}

// 黒背景か白背景かで色合いを変えたほうが読みやすい
if (bg_white) {
blue = BLUE;
Expand Down

0 comments on commit 7746eed

Please sign in to comment.