mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Avoid restoring window sizes with ViziaState
Unless specified otherwise. This avoids some bugs where old, now incorrect sizes are being recalled.
This commit is contained in:
@@ -19,7 +19,7 @@ impl Model for Data {}
|
||||
|
||||
// Makes sense to also define this here, makes it a bit easier to keep track of
|
||||
pub(crate) fn default_state() -> Arc<ViziaState> {
|
||||
ViziaState::from_size(200, 150)
|
||||
ViziaState::from_size(200, 150, false)
|
||||
}
|
||||
|
||||
pub(crate) fn create(
|
||||
|
||||
Reference in New Issue
Block a user