Feature : Hold shift to preserve shape ratio

- mutualized shape tools common code in a ShapeTool class
- when holding shift and drawing a frame, the ratio is preserved
- selection and shape tools now support the mouse to leave the drawing
  area
- shape tools can go 'outside' the drawing canvas
- Frame set/getPixel now check the pixel is in range instead of crashing
This commit is contained in:
jdescottes
2014-04-02 22:21:32 +02:00
parent 7357614d9a
commit c9251229fc
8 changed files with 119 additions and 90 deletions

View File

@@ -40,7 +40,7 @@
-moz-box-sizing : border-box;
border-radius: 3px;
background: rgba(0,0,0,0.9);
background: rgba(0,0,0,1);
overflow: auto;
}