Public Access
Launcher: the selected icon in slate, the name in white
The selected icon was dark blue on its cyan tile, which read as black: it is the Status Bar's slate now. The App's name under the grid is white instead of cyan. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0162FokPdvY2KsS4NBfwyWPk
This commit is contained in:
@@ -70,8 +70,9 @@ void LauncherApp::drawGrid(Canvas& c) {
|
||||
if (i >= static_cast<int>(apps.size())) break;
|
||||
int x = kContent.x + col * kTileW, y = kContent.y + row * kTileH;
|
||||
int ix = x + (kTileW - icons::kSize) / 2, iy = y + (kTileH - icons::kSize) / 2;
|
||||
// As on the website: cyan on black, and the chosen one dark on a cyan tile with notched corners.
|
||||
uint16_t ink = i == selected ? kOnAccent : kAccent;
|
||||
// As on the website: cyan on black, and the chosen one on a cyan tile with notched corners,
|
||||
// in the Status Bar's slate.
|
||||
uint16_t ink = i == selected ? kFaint : kAccent;
|
||||
if (i == selected) {
|
||||
int tx = ix - 6, tw = icons::kSize + 12;
|
||||
c.fillRect(tx + 4, y, tw - 8, kTileH, kAccent);
|
||||
@@ -100,7 +101,7 @@ void LauncherApp::drawGrid(Canvas& c) {
|
||||
}
|
||||
if (selected >= 0) {
|
||||
c.setFont(&fonts::bold);
|
||||
c.setTextColor(kAccent);
|
||||
c.setTextColor(kText);
|
||||
c.setTextDatum(top_center);
|
||||
c.drawString(apps[selected]->title, kContent.x + kContent.w / 2, kContent.y + kRows * kTileH + 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user