44cf9c0e70
Been working on this when I could the last few days. Not quite infinity. Middle mouse button drag, ctrl mouse wheel zoom. Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
27 lines
376 B
JavaScript
27 lines
376 B
JavaScript
const tools = {};
|
|
|
|
/**
|
|
* Dream tool
|
|
*/
|
|
tools.dream = dreamTool();
|
|
tools.img2img = img2imgTool();
|
|
|
|
/**
|
|
* Mask Editing tools
|
|
*/
|
|
toolbar.addSeparator();
|
|
|
|
/**
|
|
* Mask Brush tool
|
|
*/
|
|
tools.maskbrush = maskBrushTool();
|
|
|
|
/**
|
|
* Image Editing tools
|
|
*/
|
|
toolbar.addSeparator();
|
|
|
|
tools.selecttransform = selectTransformTool();
|
|
tools.stamp = stampTool();
|
|
|
|
toolbar.tools[0].enable();
|