mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
separator & checkbox style request fix
This commit is contained in:
@@ -70,9 +70,6 @@ impl Widget for Checkbox<'_> {
|
||||
|
||||
// Get the widget style by reading the response from the previous pass
|
||||
let id = ui.next_auto_id();
|
||||
let response: Option<Response> = ui.ctx().read_response(id);
|
||||
let state = response.map(|r| r.widget_state()).unwrap_or_default();
|
||||
|
||||
let CheckboxStyle {
|
||||
check_size,
|
||||
checkbox_frame,
|
||||
|
||||
@@ -101,8 +101,6 @@ impl Widget for Separator {
|
||||
|
||||
// Get the widget style by reading the response from the previous pass
|
||||
let id = ui.next_auto_id();
|
||||
let response: Option<Response> = ui.ctx().read_response(id);
|
||||
let state = response.map(|r| r.widget_state()).unwrap_or_default();
|
||||
let SeparatorStyle {
|
||||
spacing: spacing_style,
|
||||
stroke,
|
||||
|
||||
Reference in New Issue
Block a user