mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Initial work
This commit is contained in:
parent
7b90873324
commit
4c90db44b2
@ -32,6 +32,7 @@
|
||||
<li class="tool-icon tool-stroke" data-tool-id="tool-stroke" title="Stroke tool"></li>
|
||||
<li class="tool-icon tool-rectangle" data-tool-id="tool-rectangle" title="Rectangle tool"></li>
|
||||
<li class="tool-icon tool-move" data-tool-id="tool-move" title="Move tool"></li>
|
||||
<li class="tool-icon tool-select" data-tool-id="tool-select" title="Move tool">S</li>
|
||||
</ul>
|
||||
|
||||
<ul class="tools-group">
|
||||
@ -114,6 +115,7 @@
|
||||
<script src="js/drawingtools/PaintBucket.js"></script>
|
||||
<script src="js/drawingtools/Rectangle.js"></script>
|
||||
<script src="js/drawingtools/Move.js"></script>
|
||||
<script src="js/drawingtools/SelectTool.js"></script>
|
||||
<script src="js/ToolSelector.js"></script>
|
||||
|
||||
<!-- Application controller and initialization -->
|
||||
|
@ -15,7 +15,8 @@ pskl.ToolSelector = (function() {
|
||||
"paintBucket" : new pskl.drawingtools.PaintBucket(),
|
||||
"stroke" : new pskl.drawingtools.Stroke(),
|
||||
"rectangle" : new pskl.drawingtools.Rectangle(),
|
||||
"move" : new pskl.drawingtools.Move()
|
||||
"move" : new pskl.drawingtools.Move(),
|
||||
"select" : new pskl.drawingtools.Select()
|
||||
};
|
||||
var currentSelectedTool = toolInstances.simplePen;
|
||||
var previousSelectedTool = toolInstances.simplePen;
|
||||
|
Loading…
Reference in New Issue
Block a user