mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Restored square templates in splash page
This commit is contained in:
@ -16,6 +16,8 @@ const ToolManager = (() => {
|
||||
{type:'cursor', style:'crosshair'}, switchTool, tools["brush"]);
|
||||
tools["rectselect"] = new RectangularSelectionTool("rectselect",
|
||||
{type: 'cursor', style:'crosshair'}, switchTool, tools["moveselection"]);
|
||||
tools["lassoselect"] = new LassoSelectionTool("lassoselect",
|
||||
{type: 'cursor', style:'crosshair'}, switchTool, tools["moveselection"]);
|
||||
|
||||
currTool = tools["brush"];
|
||||
currTool.onSelect();
|
||||
|
@ -42,6 +42,7 @@
|
||||
//=include tools/PanTool.js
|
||||
//=include tools/ZoomTool.js
|
||||
//=include tools/RectangularSelectionTool.js
|
||||
//=include tools/LassoSelectionTool.js
|
||||
//=include tools/MoveSelectionTool.js
|
||||
|
||||
/** MODULES AND MENUS **/
|
||||
|
@ -1,6 +1,6 @@
|
||||
class LassoSelectionTool extends SelectionTool {
|
||||
constructor (name, options, switchFunc, moveTool) {
|
||||
|
||||
super(name, options, switchFunc, moveTool);
|
||||
}
|
||||
|
||||
onStart(mousePos) {
|
||||
|
Reference in New Issue
Block a user