Jürg Lehni
|
dc732da8d8
|
Clean up documentation for event handler functions on View and Tool.
|
2013-10-30 15:38:08 +01:00 |
|
Jürg Lehni
|
c945bf7908
|
Docs: Various smaller clean ups.
|
2013-10-16 14:20:13 +02:00 |
|
Jürg Lehni
|
c68a7d33da
|
Switch from options.browser and options.node to options.environment
|
2013-10-10 23:09:00 +02:00 |
|
Jürg Lehni
|
6b45a9382c
|
Replace typeof x !== 'undefined' checks with typeof x === 'object'.
|
2013-10-10 20:36:33 +02:00 |
|
Jürg Lehni
|
19c7788617
|
Fix documentation irregularities.
|
2013-08-23 19:45:28 -07:00 |
|
Jürg Lehni
|
cd74aaf5a3
|
Remove caching of inverse transform.
View#matrix can be directly modified, and we don't have change tracking on matrices yet.
|
2013-08-23 19:29:28 -07:00 |
|
Jürg Lehni
|
ec121ca04c
|
Separate requesting and handling of animation frames.
Closes #176.
|
2013-07-19 17:33:32 -07:00 |
|
Jürg Lehni
|
cd40bd2c9d
|
Fix faulty comment about _handleFrameItems.
|
2013-07-19 15:49:51 -07:00 |
|
Jürg Lehni
|
f572ad9c0a
|
Improve handling of Stats.
Don't bail out if the library is not loaded.
|
2013-06-27 04:11:50 -07:00 |
|
Jürg Lehni
|
3d5ae373a8
|
Remove static create() methods from LinkedPoint/Size/Rectangle, and give them initialize() methods instead that also name the classes in debugging.
|
2013-06-25 09:41:55 -07:00 |
|
Jürg Lehni
|
1866e4ff15
|
Remove need for all special arguments in minification, and restructure code to avoid warnings.
|
2013-06-24 10:15:54 -07:00 |
|
Jürg Lehni
|
78a3e87ca1
|
Prevent separate View file in docs.
|
2013-06-24 09:10:26 -07:00 |
|
Jürg Lehni
|
fa3f91a754
|
Move PaperScript.get/setAttribute() to PaperScope.
|
2013-06-24 04:23:34 -07:00 |
|
Jürg Lehni
|
a4535edbb9
|
Bring back _class names, since code minification breaks reliance on constructor.name.
Closes #248.
|
2013-06-23 20:18:32 -07:00 |
|
Jürg Lehni
|
6fa6c022c9
|
Rename options.server to options.node
|
2013-05-28 00:01:55 -07:00 |
|
Jürg Lehni
|
cd7db56249
|
Remove all create() constructors for basic types since new constructors are now faster.
Woop!
|
2013-05-27 23:57:31 -07:00 |
|
Jürg Lehni
|
4e6f52c20c
|
Remove need for _needsRedraw() calls by replacing it with a boolean flag.
|
2013-05-27 23:40:23 -07:00 |
|
Jürg Lehni
|
10d5de3ed6
|
Implement a better way to name and export class constructors.
This change also simplified the way classes are exported to PaperScope objects.
|
2013-05-27 12:48:58 -07:00 |
|
Jürg Lehni
|
67aacb9552
|
Implement dontLink parameters for View getters.
|
2013-05-08 20:19:22 -07:00 |
|
Jürg Lehni
|
b59a98f7ce
|
Add jQuery style aliases to Callback and use #on() in the examples rather than #attach().
|
2013-05-06 20:56:58 -07:00 |
|
Jürg Lehni
|
96b886ae8d
|
Avoid endless recursion when changing view from onFrame handler.
Closes #184.
|
2013-04-09 22:38:23 -07:00 |
|
Jürg Lehni
|
7ca22cd260
|
Clean up mouse handling code.
|
2013-03-05 14:57:41 -08:00 |
|
Jonathan Puckey
|
419d9f21af
|
View example documentation.
|
2013-03-03 18:46:34 +01:00 |
|
Jürg Lehni
|
8f80fa16d2
|
Correct comment.
|
2013-02-15 18:01:29 -08:00 |
|
Jürg Lehni
|
ace260a334
|
Determine size of Canvases that are positioned by CSS.
|
2013-02-14 22:28:50 -08:00 |
|
Jürg Lehni
|
2955b12dd7
|
Always read canvas attributes to determine view size.
Closes #96.
|
2013-02-14 20:00:47 -08:00 |
|
Jürg Lehni
|
80638372b6
|
Merge pull request #169 from a-puzo/master
Fixed bad centering when `view.center` and `view.zoom` are changed
|
2013-02-14 19:30:26 -08:00 |
|
Jürg Lehni
|
ee03ce47e4
|
Simplify fix proposed in #164.
|
2013-02-14 12:41:50 -08:00 |
|
Jürg Lehni
|
88a33200c2
|
Merge pull request #164 from ispivey/fix-svg-getview-error
Update getView to handle DOM elements without getAttribute
|
2013-02-14 12:40:53 -08:00 |
|
a-puzo
|
66547a4442
|
Correct view centering
Fixed bad centering when `view.center` and `view.zoom` are changed
|
2013-02-13 06:35:19 +04:00 |
|
Jürg Lehni
|
b10454a83c
|
Rename Matrix#createInverse() to #inverted() and #createShiftless() to #shiftless().
|
2013-02-09 12:18:40 -08:00 |
|
Ian Spivey
|
0df86550e6
|
Update getView to handle DOM elements without getAttribute, e.g. SVGDocument
|
2013-01-28 19:08:25 -08:00 |
|
Jürg Lehni
|
6c9c16ad3d
|
Update copyright information comments, and year.
|
2013-01-28 18:03:27 -08:00 |
|
Jürg Lehni
|
8f093f6dd7
|
Remove all PORT comments, since we won't port back features to Scriptographer.
|
2012-12-25 16:07:48 +01:00 |
|
Jürg Lehni
|
9d47bfcf0b
|
Suppress weird JSdoc warnings.
|
2012-12-24 17:20:00 +01:00 |
|
Jürg Lehni
|
1046e440e8
|
Improve documentation.
|
2012-12-23 16:01:53 +01:00 |
|
Jürg Lehni
|
92e9bb2a6a
|
Change item based onFrame handlers to have their own time and frame counters.
|
2012-12-03 10:04:10 -08:00 |
|
Jürg Lehni
|
cf5853c8cc
|
Improve handling of item based onFrame handlers, by moving functionality to View and removing handlers properly when the view is destroyed.
|
2012-12-03 09:53:47 -08:00 |
|
Jürg Lehni
|
a7320cf2e2
|
Implement new DomElement micro lib, supporting creation of elements, getting and setting of style, content, and events, in an elegant fashion.
|
2012-11-13 22:58:03 -08:00 |
|
Jürg Lehni
|
04df1a0d4a
|
Always set canvas size, to avoid zooming pixels if size is set to a percentage.
|
2012-10-31 09:49:42 -07:00 |
|
Jürg Lehni
|
96e1765e4f
|
Do not implicitly use getTool() getter since it creates tools when none exists.
|
2012-10-30 11:43:06 -07:00 |
|
Jürg Lehni
|
7096b37b2e
|
Change the way canvases get temporarily focused when there is more than one and the mouse is outside all of them.
Closes #115.
|
2012-10-22 18:03:57 -07:00 |
|
Jürg Lehni
|
20797b8cc3
|
Avoid name clash between View._handlers and Callback._handlers that keeps track of installed handlers.
Closes #109.
|
2012-10-22 17:38:40 -07:00 |
|
Jürg Lehni
|
ed9037deb1
|
Fix white-space.
|
2012-10-08 18:44:08 -07:00 |
|
Jürg Lehni
|
f75386e8fb
|
No need to check _windowHandlers, as DomEvent.remove does the right thing either way.
|
2012-10-08 18:09:41 -07:00 |
|
Jürg Lehni
|
08cb7c76ea
|
Clean up resize handlers when removing resizing views.
Closes #121.
|
2012-10-08 18:05:44 -07:00 |
|
Jonathan Puckey
|
772174cedc
|
Documentation for Tool and View event handling.
|
2012-02-02 11:45:02 +01:00 |
|
Jürg Lehni
|
7b03dbedb9
|
Move stats update to onFrame handler.
|
2011-12-27 16:06:47 +01:00 |
|
Jürg Lehni
|
4514c63ed4
|
Merge remote-tracking branch 'origin/master'
|
2011-12-18 21:30:22 +01:00 |
|
Jürg Lehni
|
b0b49d027a
|
Remove unused parameter.
|
2011-12-10 20:05:26 +01:00 |
|