mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-07-03 00:06:47 -04:00
opt: optimize text draw for hidpi
This commit is contained in:
parent
0824961b81
commit
38393873f3
3 changed files with 8 additions and 3 deletions
|
|
@ -364,7 +364,8 @@ void create_jump_hints(Monitor *m) {
|
|||
c->jump_char = c_char;
|
||||
|
||||
char label_text[2] = {c_char, '\0'};
|
||||
mango_jump_label_node_update(c->jump_label_node, label_text, 1.0f);
|
||||
mango_jump_label_node_update(c->jump_label_node, label_text,
|
||||
m->wlr_output->scale);
|
||||
wlr_scene_node_set_enabled(&c->jump_label_node->scene_buffer->node,
|
||||
true);
|
||||
wlr_scene_node_raise_to_top(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue