mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
remove unused paletteController member from DrawingController
This commit is contained in:
parent
94b1a1df4a
commit
5bde3c471d
@ -61,7 +61,6 @@
|
|||||||
|
|
||||||
this.drawingController = new pskl.controller.DrawingController(
|
this.drawingController = new pskl.controller.DrawingController(
|
||||||
this.piskelController,
|
this.piskelController,
|
||||||
this.paletteController,
|
|
||||||
$('#drawing-canvas-container'));
|
$('#drawing-canvas-container'));
|
||||||
this.drawingController.init();
|
this.drawingController.init();
|
||||||
|
|
||||||
|
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
var ns = $.namespace('pskl.controller');
|
var ns = $.namespace('pskl.controller');
|
||||||
|
|
||||||
ns.DrawingController = function (piskelController, paletteController, container) {
|
ns.DrawingController = function (piskelController, container) {
|
||||||
/**
|
/**
|
||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
this.piskelController = piskelController;
|
this.piskelController = piskelController;
|
||||||
|
|
||||||
this.paletteController = paletteController;
|
|
||||||
|
|
||||||
this.dragHandler = new ns.drawing.DragHandler(this);
|
this.dragHandler = new ns.drawing.DragHandler(this);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
(function () {
|
(function () {
|
||||||
var ns = $.namespace('pskl.controller');
|
var ns = $.namespace('pskl.controller');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The PaletteController is responsible for handling the two color picker
|
||||||
|
* widgets found in the left column, below the tools.
|
||||||
|
*/
|
||||||
ns.PaletteController = function () {};
|
ns.PaletteController = function () {};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user