sapics
be4199b6eb
Update copyright year to 2019
2018-12-27 16:13:01 +09:00
sapics
cfc5a912da
Replace url to avoid redirection
...
Replace http://jonathanpuckey.com to https://puckey.studio
2018-11-14 11:24:32 +01:00
Carl Saldanha
6a96a11549
Events: Fix auto-filling issue on Chrome
...
Closes #1358 , closes #1365
2017-10-04 17:08:10 +02:00
Jürg Lehni
4281800585
Added missing apostrophe.
...
Closes https://github.com/paperjs/paperjs.org/pull/25
2016-12-01 21:45:38 -05:00
Jan
f94b4f969b
Accidential semicolon in var declaration
...
I think this is a mistake
2016-06-22 13:10:02 +02:00
Jürg Lehni
f133475405
Implement MouseEvent#currentTarget and document MouseEvent#target.
...
Relates to #995
2016-06-18 23:06:17 +02:00
Jürg Lehni
a03631f620
Remove MouseEvent#target hitTest() getter magic again.
...
Relates to #995
2016-06-17 00:42:40 +02:00
Jürg Lehni
2a3945c4a5
Add additional explanation to fix for #995
2016-06-14 16:54:16 +02:00
Jürg Lehni
724bcb2e35
Make sure mouse events propagate to the view while their targets remain consistent.
...
Closes #995
2016-06-14 16:52:31 +02:00
Jürg Lehni
b2f3b587ec
Events: paper namespace may not be initialized when key evens are emitted.
2016-02-01 12:58:52 +01:00
Jürg Lehni
849688833e
Implement key events on View.
...
Closes #896
2016-01-27 11:36:39 +01:00
Jürg Lehni
86f6d8eccd
Fix crash in unit tests.
2016-01-26 23:27:38 +01:00
Jürg Lehni
b71ffdbe71
Remove all direct calls to view.update() and favor of the new view.requestUpdate()
...
Pure window.requestAnimationFrame() smoothness, automatic updates even when working directly from JavaScript, and no more slow-downs from onLoad events!
Closes #830 , #925
2016-01-26 21:37:27 +01:00
Jürg Lehni
5e69de3bd1
Restructure event handling on Raster item.
...
- Trigger #onLoad() events from Raster#setImage() also
- Add support for Raster#onError() handler
Closes #849 and #924
2016-01-26 21:06:36 +01:00
Jürg Lehni
c479ec9272
Start with transition to unified version.
...
Relates to #739
2016-01-26 11:41:49 +01:00
Jürg Lehni
b8a1fbcd67
Implement new convention when to call event.preventDefault()
after mouse-events:
...
- If any of the handlers were called, except for mousemove events which need to call `event.preventDefault()` explicitly, or `return false;`.
- If this is a mousedown event, and the view or tools respond to mouseup.
2016-01-14 11:19:54 +01:00
Jürg Lehni
00a7588a3a
Allow any mouse handler to return true in order to enforce browser default.
...
Relates to #686
2016-01-13 19:04:03 +01:00
Jürg Lehni
db2beba831
Large refactoring of mouse-handling code on View and CanvasView.
...
Added support for:
- Better event bubbling
- mouseenter / mouseleave events on view
- Better handling of mousedrag / mousemove events on item and view
- Support for #removeOn() call in item / view handlers
Closes #845
2016-01-13 02:11:29 +01:00
Jürg Lehni
8639051081
More work and clean-up on JSHint compliance.
2016-01-09 12:05:42 +01:00
Jürg Lehni
f2ae7840cf
A lot of work on documentation.
...
- @values lists
- Improve event documentation
- Compound path
- etc.
2016-01-08 20:45:54 +01:00
Jürg Lehni
cb3d4341fd
paper.browser can still be null when the first key events fire.
2016-01-08 11:42:12 +01:00
Jürg Lehni
88634d4d3d
The paper.browser object might not be initialized yet.
2016-01-03 01:23:17 +01:00
Jürg Lehni
957d303a0d
Make sure the key identifier is always lowercase.
...
Relates to #881
2016-01-02 13:58:05 +01:00
Jürg Lehni
afffdfdddd
Clean up comments a little.
2016-01-02 13:20:36 +01:00
Jürg Lehni
df09e14d53
Address keyIdentifier weirdness in Chrome on Ubuntu.
...
Closes #881
2016-01-02 13:17:24 +01:00
Jürg Lehni
ce1f04d76c
Remove reliance on downKey, since it may differ between keydown and keypress events.
...
Relates to #881 , but unfortunately does not fix it.
2016-01-02 13:02:20 +01:00
Jürg Lehni
511fc12dd4
Implement more special key lookups in new Key handling code.
...
Relates to #876 .
2015-12-30 21:55:22 +01:00
Jürg Lehni
a7a07fb6d5
Update JSDoc and do some documentation spring-cleaning.
...
- Convert from {@code ...} to shorter `...`
- Reformat some documentation comment blocks
- Update copyright notices
2015-12-30 21:55:19 +01:00
Jürg Lehni
086485dc95
Minor code clean-up.
2015-12-30 21:55:17 +01:00
Jürg Lehni
e3a27da7b2
Fix alt key combos on Chrome.
...
Relates to #860
2015-12-30 21:55:17 +01:00
Jürg Lehni
0badb3b3f4
A bunch of code clean-ups.
2015-12-30 21:55:16 +01:00
Jürg Lehni
248364aebc
Fix @param description.
2015-12-30 21:55:16 +01:00
Jürg Lehni
4ee3a76a74
Improve handling of special characters and control sequences.
2015-12-30 21:55:16 +01:00
Jürg Lehni
0346552bc6
Minor simplification.
2015-12-30 21:55:16 +01:00
Jürg Lehni
52edd72efb
Refactor Key handling
...
- Rely on event.key / event.keyIdnetifier instead of event.keyCode
- Handle command key better on Chrome across all platforms (fixes #860 )
- Improve documentation
2015-12-30 21:55:16 +01:00
Jürg Lehni
eb3628063c
Handle missing keyup events for keys pressed while Command key is down on Mac.
...
Closes #630 .
2015-08-21 13:56:44 +02:00
Jürg Lehni
68585276a0
Rename ui folder to event.
2014-10-08 18:32:55 +02:00