mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-18 00:15:44 +00:00
backstage: fix Align2 path after merge
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d5495ea4f8
commit
0ff06b9d86
1 file changed
+2
-2
@@ -651,11 +651,11 @@ fn open_list(app: &mut WordApp, ui: &mut Ui) {
|
||||
match remove_cue(resp.hovered() || resp.has_focus(), xresp.hovered() || xresp.has_focus()) {
|
||||
RemoveCue::Hidden => {}
|
||||
RemoveCue::Dim => {
|
||||
ui.painter().text(xr.center(), Align2::CENTER_CENTER, "×", medium(15.0), t.text_dim);
|
||||
ui.painter().text(xr.center(), egui::Align2::CENTER_CENTER, "×", medium(15.0), t.text_dim);
|
||||
}
|
||||
RemoveCue::Strong => {
|
||||
ui.painter().rect_filled(xr, 4.0, t.hover);
|
||||
ui.painter().text(xr.center(), Align2::CENTER_CENTER, "×", medium(15.0), t.text);
|
||||
ui.painter().text(xr.center(), egui::Align2::CENTER_CENTER, "×", medium(15.0), t.text);
|
||||
}
|
||||
}
|
||||
if resp.clicked() {
|
||||
|
||||
Reference in new issue
Block a user