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:
@@ -36,7 +36,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(680, 535)
|
||||
ViziaState::from_size(680, 535, false)
|
||||
}
|
||||
|
||||
pub(crate) fn create(
|
||||
|
||||
Reference in New Issue
Block a user