mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Split CreatePaletteControllers in ctrl + widget for colors list
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
return this.colors;
|
||||
};
|
||||
|
||||
ns.Palette.prototype.setColors = function (colors) {
|
||||
this.colors = colors;
|
||||
};
|
||||
|
||||
ns.Palette.prototype.get = function (index) {
|
||||
return this.colors[index];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user