remove unused paletteController member from DrawingController

This commit is contained in:
juliandescottes 2017-01-15 12:35:38 +01:00
parent 94b1a1df4a
commit 5bde3c471d
3 changed files with 5 additions and 4 deletions

View File

@ -61,7 +61,6 @@
this.drawingController = new pskl.controller.DrawingController(
this.piskelController,
this.paletteController,
$('#drawing-canvas-container'));
this.drawingController.init();

View File

@ -2,14 +2,12 @@
var ns = $.namespace('pskl.controller');
ns.DrawingController = function (piskelController, paletteController, container) {
ns.DrawingController = function (piskelController, container) {
/**
* @public
*/
this.piskelController = piskelController;
this.paletteController = paletteController;
this.dragHandler = new ns.drawing.DragHandler(this);
/**

View File

@ -1,6 +1,10 @@
(function () {
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 () {};
/**