mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Fixed layout on FF, removed options in drawer
This commit is contained in:
@ -18,10 +18,6 @@
|
||||
$('#grid-width').val(gridWidth);
|
||||
$('#grid-width').change(this.onGridWidthChange.bind(this));
|
||||
|
||||
var overlay = pskl.UserSettings.get(pskl.UserSettings.OVERLAY);
|
||||
$('#overlay').val(overlay);
|
||||
$('#overlay').change(this.onOverlayChange.bind(this));
|
||||
|
||||
// Handle canvas background changes:
|
||||
$('#background-picker-wrapper').click(this.onBackgroundClick.bind(this));
|
||||
};
|
||||
@ -31,11 +27,6 @@
|
||||
pskl.UserSettings.set(pskl.UserSettings.GRID_WIDTH, parseInt(width, 10));
|
||||
};
|
||||
|
||||
ns.ApplicationSettingsController.prototype.onOverlayChange = function (evt) {
|
||||
var overlay = $('#overlay').val();
|
||||
pskl.UserSettings.set(pskl.UserSettings.OVERLAY, overlay);
|
||||
};
|
||||
|
||||
ns.ApplicationSettingsController.prototype.onBackgroundClick = function (evt) {
|
||||
var target = $(evt.target).closest('.background-picker');
|
||||
if (target.length) {
|
||||
|
Reference in New Issue
Block a user