diff --git a/editor/src/messages/layout/utility_types/widgets/input_widgets.rs b/editor/src/messages/layout/utility_types/widgets/input_widgets.rs index 8ac3f7e7..24f1a627 100644 --- a/editor/src/messages/layout/utility_types/widgets/input_widgets.rs +++ b/editor/src/messages/layout/utility_types/widgets/input_widgets.rs @@ -11,6 +11,8 @@ use serde::{Deserialize, Serialize}; pub struct CheckboxInput { pub checked: bool, + pub disabled: bool, + pub icon: String, pub tooltip: String, @@ -28,6 +30,7 @@ impl Default for CheckboxInput { fn default() -> Self { Self { checked: false, + disabled: false, icon: "Checkmark".into(), tooltip: Default::default(), tooltip_shortcut: Default::default(), @@ -215,6 +218,8 @@ pub enum NumberInputIncrementBehavior { pub struct OptionalInput { pub checked: bool, + pub disabled: bool, + pub icon: String, pub tooltip: String, diff --git a/frontend/assets/icon-12px-solid/empty-12px.svg b/frontend/assets/icon-12px-solid/empty-12px.svg new file mode 100644 index 00000000..ed62aab1 --- /dev/null +++ b/frontend/assets/icon-12px-solid/empty-12px.svg @@ -0,0 +1,2 @@ + + diff --git a/frontend/assets/icon-12px-solid/grid.svg b/frontend/assets/icon-12px-solid/grid.svg index f0a474d5..0a783514 100644 --- a/frontend/assets/icon-12px-solid/grid.svg +++ b/frontend/assets/icon-12px-solid/grid.svg @@ -1,10 +1,10 @@ - - - - - - - - + + + + + + + + diff --git a/frontend/public/index.html b/frontend/public/index.html index c261fee3..9ed9a042 100644 --- a/frontend/public/index.html +++ b/frontend/public/index.html @@ -19,7 +19,6 @@ -