mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 12:50:04 -04:00
Rename Context::style to global_style; avoid confusion w/ Ui::style (#7772)
This is important after * https://github.com/emilk/egui/pull/7770
This commit is contained in:
@@ -181,7 +181,7 @@ impl Keypad {
|
||||
|
||||
let is_first_show = ctx.wants_keyboard_input() && state.focus != focus;
|
||||
if is_first_show {
|
||||
let y = ctx.style().spacing.interact_size.y * 1.25;
|
||||
let y = ctx.global_style().spacing.interact_size.y * 1.25;
|
||||
state.open = true;
|
||||
state.start_pos = ctx.input(|i| {
|
||||
i.pointer
|
||||
|
||||
Reference in New Issue
Block a user