Commit Graph

101 Commits

Author SHA1 Message Date
Luis Leiva 47b1a4c4ed Multitouch drawing can be disabled 2015-07-23 14:05:34 +02:00
Luis A. Leiva 50a2033067 Prevent default on touchend event, too 2015-07-12 20:57:10 +02:00
Luis A. Leiva 7cf84d8bb5 Improved multitouch support 2015-07-11 18:45:06 +02:00
Luis A. Leiva 3c38789797 Remove unused var 2015-06-24 19:52:05 +02:00
Luis A. Leiva 335016a066 Minor fixes 2015-06-21 20:07:47 +02:00
Luis A. Leiva 058ae6e025 Decopupled drawing default 2015-06-21 18:41:40 +02:00
Luis A. Leiva baa0dd864b Fixed: mitter -> miter 2015-06-21 13:06:47 +02:00
Luis Leiva 030763919a drawImage coordinates made optional 2015-06-21 11:35:22 +02:00
Luis Leiva 0c5ce077af Updated pencil/eraser behavior 2015-05-14 12:11:21 +02:00
Luis Leiva 63f78899b7 Remember previous drawing options after path drawing 2015-05-12 20:12:05 +02:00
Luis Leiva 65346a1a5f Fixed unwanted event queuing in memento plugin when reinstantiating or resetting a sketchable element. 2014-09-10 19:45:24 +02:00
Luis Leiva 1ce6e770eb A better notation (call vs. apply) 2014-08-22 17:19:39 +02:00
Luis Leiva c7d86ee0e4 Less intrusive init method for memento plugin 2014-08-22 17:15:21 +02:00
Luis Leiva 2f01e2bf58 Fixed deep cloning in memento plugin 2014-08-22 14:03:15 +02:00
Luis Leiva e09d55cb67 Deep cloning of jsketchable defaults in memento plugin 2014-08-22 13:57:27 +02:00
Luis Leiva b18703841a Added paranoid check 2014-07-10 17:26:11 +02:00
Luis Leiva 70aa9e51b7 Documented code with JSDoc 3.3 2014-07-09 12:34:57 +02:00
Luis Leiva 516fe1f56b Improved eraser/pencil functions 2014-07-08 18:10:41 +02:00
Luis Leiva d0946a3858 Updated version number 2014-07-08 17:40:31 +02:00
Luis Leiva b76914e913 Updated version number 2014-07-08 17:39:09 +02:00
Luis Leiva 411d2f737d Minor fix 2014-07-08 17:37:03 +02:00
Luis Leiva 3efb83c9c5 Added multitouch support 2014-07-08 17:32:46 +02:00
Luis Leiva 570c68485e Improved drawing 2014-07-08 13:41:59 +02:00
--global a604021b40 Added new methods 2014-05-30 18:50:39 +02:00
--global a73369aa36 Give priority to mouse coord storing 2014-05-30 18:48:28 +02:00
Luis Leiva 58d6192fbf Added (optional) relative timestamps options (saves bandwith) 2014-05-09 17:59:15 +02:00
Luis Leiva 9de9845a22 Fixed elem data on re-initialization 2014-05-09 17:41:57 +02:00
Luis Leiva 00948a5b21 Deep cloning default options 2014-05-09 17:30:48 +02:00
Luis Leiva 3b5cf577e0 Fix mouseup/down mix in the same stroke 2014-05-08 16:33:15 +02:00
Luis Leiva 21d16ae27c Fixed remaining mouseup bug 2014-05-07 20:18:14 +02:00
Luis Leiva d4f211f46f Solved merge conflict with memento files 2014-05-07 19:47:59 +02:00
Luis Leiva 8595baabc3 Fixed shared options bug 2014-05-07 19:43:34 +02:00
Luis Leiva eb9eb53539 Fixed memento empty events case 2014-05-07 19:42:02 +02:00
Luis Leiva 5fb01a7c8a Minor renaming 2014-04-12 01:02:57 +02:00
Luis Leiva ee9f9a2420 Minor renaming 2014-04-12 00:42:11 +02:00
Luis Leiva 7090bb9a3a Added memento plugin for undo/redo capability 2014-04-11 10:54:03 +02:00
Luis Leiva aad5334dd3 Removed version & date from sketchable entry point 2014-04-11 10:53:15 +02:00
Luis Leiva 0050cc96e8 Updated code comments 2014-04-11 10:51:08 +02:00
Luis Leiva bdcc673a7b Changed misleading data.canvas by data.sketch 2014-04-10 10:58:39 +02:00
Luis Leiva 1d30ad5b93 Added a means to access internal plugin methods 2014-04-09 17:01:19 +02:00
Luis Leiva 1cab773403 Unified casing and naming conventions for event callbacks 2014-04-09 16:59:41 +02:00
Luis Leiva 254b5bb1a0 Unified casing: mouseUp -> mouseup 2014-04-09 13:13:31 +02:00
Luis Leiva 6713316644 Cast to bool canvas.isDrawing 2014-04-09 12:24:40 +02:00
Luis Leiva 1fe1753fd0 Added option to capture mouseUp strokes 2014-04-09 11:47:50 +02:00
Luis Leiva 1a9dc38243 Trigger elem + data on mouse events 2014-04-08 14:23:18 +02:00
Luis Leiva 0923e6c2ce Updated metadata, minified files 2014-04-08 12:51:40 +02:00
Luis Leiva a953062b4f Added time + status to strokes array, plus minor fixes 2014-04-08 12:34:18 +02:00
Luis Leiva e751cb7830 Better default option checking 2014-04-08 12:28:56 +02:00
Luis Leiva e9d7b6c815 Added URL for demos & docs. 2012-07-07 19:17:50 +02:00
Luis Leiva 38287e2a24 Initial commit. 2012-07-07 19:07:58 +02:00