mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Issue #338 : disable sizeInput sync if maintainration is off in usersettings
This commit is contained in:
parent
6583d8f8b9
commit
c70e339296
@ -35,7 +35,9 @@
|
|||||||
|
|
||||||
if (settings.maintainRatio) {
|
if (settings.maintainRatio) {
|
||||||
this.maintainRatioCheckbox.checked = true;
|
this.maintainRatioCheckbox.checked = true;
|
||||||
this.sizeInputWidget.enableSync();
|
} else {
|
||||||
|
// the SizeInput widget is enabled by default
|
||||||
|
this.sizeInputWidget.disableSync();
|
||||||
}
|
}
|
||||||
|
|
||||||
this.addEventListener(this.resizeForm, 'submit', this.onResizeFormSubmit_);
|
this.addEventListener(this.resizeForm, 'submit', this.onResizeFormSubmit_);
|
||||||
|
Loading…
Reference in New Issue
Block a user