mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Add canvas background switcher
A quick integration to make our minds on different backgrounds and ask for feedback
This commit is contained in:
@@ -70,6 +70,13 @@ $.namespace("pskl");
|
||||
$('body').tooltip({
|
||||
selector: '[rel=tooltip]'
|
||||
});
|
||||
|
||||
$('#canvas-picker').change(function(evt) {
|
||||
$('#canvas-picker option:selected').each(function() {
|
||||
console.log($(this).val());
|
||||
$('html')[0].className = $(this).val();
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
render : function (delta) {
|
||||
|
||||
Reference in New Issue
Block a user