mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-05 08:48:12 +08:00
UI refinements for radio buttons and the Snapping/Grid popovers
This commit is contained in:
@@ -264,6 +264,9 @@ pub struct RadioInput {
|
||||
// This uses `u32` instead of `usize` since it will be serialized as a normal JS number (replace this with `usize` after switching to a Rust-based GUI)
|
||||
#[serde(rename = "selectedIndex")]
|
||||
pub selected_index: Option<u32>,
|
||||
|
||||
#[serde(rename = "minWidth")]
|
||||
pub min_width: u32,
|
||||
}
|
||||
|
||||
#[derive(Clone, Default, Derivative, Serialize, Deserialize, WidgetBuilder, specta::Type)]
|
||||
|
||||
Reference in New Issue
Block a user