mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Merge branch 'master' into next-update
This commit is contained in:
commit
ac18dff161
@ -8,7 +8,7 @@ const ToolManager = (() => {
|
||||
tools["line"] = new LineTool("line", {type: 'html'}, switchTool);
|
||||
tools["fill"] = new FillTool("fill", {type: 'cursor', style: 'crosshair'}, switchTool);
|
||||
|
||||
tools["eyedropper"] = new EyedropperTool("eyedropper", {type: 'cursor', style: 'crosshair'}, switchTool);
|
||||
tools["eyedropper"] = new EyeDropperTool("eyedropper", {type: 'cursor', style: 'crosshair'}, switchTool);
|
||||
tools["pan"] = new PanTool("pan", {type: 'custom'}, switchTool);
|
||||
tools["zoom"] = new ZoomTool("zoom", {type:'custom'});
|
||||
|
||||
|
@ -38,7 +38,7 @@
|
||||
//=include tools/LineTool.js
|
||||
//=include tools/RectangleTool.js
|
||||
//=include tools/FillTool.js
|
||||
//=include tools/EyedropperTool.js
|
||||
//=include tools/EyeDropperTool.js
|
||||
//=include tools/PanTool.js
|
||||
//=include tools/ZoomTool.js
|
||||
//=include tools/RectangularSelectionTool.js
|
||||
|
@ -1,4 +1,4 @@
|
||||
class EyedropperTool extends Tool {
|
||||
class EyeDropperTool extends Tool {
|
||||
eyedropperPreview = document.getElementById("eyedropper-preview");
|
||||
selectedColor = {r:0, g:0, b:0};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user