Nathan Dinsmore
bc79cd8df2
Call isTransparentAt
2015-06-18 15:33:44 -04:00
Nathan Dinsmore
bae22f0804
Add braces
2015-06-18 15:33:36 -04:00
Nathan Dinsmore
82197c7a8c
Declare some variables earlier
2015-06-18 15:33:25 -04:00
Nathan Dinsmore
0245a81fc0
Optimize loading projects a bit more
2015-06-17 23:05:34 -04:00
Nathan Dinsmore
aaa3c407bc
Add a missing super call in overridden updateReferences()
2015-06-17 21:11:04 -04:00
Nathan Dinsmore
f20ea67926
Provide a fallback for browsers that don't support Map
2015-06-17 21:08:12 -04:00
Nathan Dinsmore
6a82960cf7
Optimize moveBy and friends
...
This results in realtime speed for dragging where I used to get 10-15 fps before this change.
2015-06-17 20:46:54 -04:00
Nathan Dinsmore
d5761b074d
Remove clone function (unused)
2015-06-17 20:09:43 -04:00
Nathan Dinsmore
3e613a4409
Fix and greatly simplify copying mechanism
...
Due to an error in the original implementation of updateReferences(), Morph subclasses which stored references to other morphs needed to manually override copyRecordingReferences() to update these references (which should have been done automatically by updateReferences). This change fixes updateReferences() and changes the copying mechanism to use Maps, which are much faster.
2015-06-17 19:47:27 -04:00
Nathan Dinsmore
81b9245d25
Optimize copy()
...
1356.2 ms before => 73.3 ms after (on a large block stack)
2015-06-17 19:10:30 -04:00
Nathan Dinsmore
1f52f4f152
Optimize StringMorph::clearSelection()
...
This was taking a very large chunk of CPU time when copying large scripts.
2015-06-17 18:52:20 -04:00
Nathan Dinsmore
7bb046856c
Remove extra space
2015-06-17 18:28:18 -04:00
Nathan Dinsmore
c8cbbeb2ad
Optimize HandMorph::morphAtPointer a lot
...
On large morph hierarchies this goes from ~85% CPU usage when moving the mouse around to ~5%.
2015-06-17 18:25:09 -04:00
Nathan Dinsmore
87c2503571
Use Object.create(…) instead of new …() for inheritance (faster)
2015-06-17 17:11:40 -04:00
Jens Mönig
30e43a359e
Morphic: Dynamic enhancements
...
new event hooks for “reactToTemplateCopy”, first mouse click on
editable text, and allow trigger hint to also be a function returning a
dynamic help string rather than only a static string
2015-05-01 11:49:35 -04:00
jmoenig
6608d1098f
Avoid auto-scaling artefacts in Safari on retina displays
...
(resulting in “traces” when dragging items)
2014-12-05 12:53:02 +01:00
jmoenig
d94d9ff4e8
Cache actual bounding box of the Pen arrow shape
...
for improved collision detection
2014-12-03 12:42:46 +01:00
jmoenig
3cc28b1f1c
push morphic.js version date
2014-11-20 15:40:24 +01:00
Jens Mönig
ebc1d3779c
Merge pull request #615 from tonychenr/slider_range_one
...
Slider range one
2014-11-20 15:37:35 +01:00
jmoenig
7b96be6c40
enable mouseMove events with right button pressed
...
to support user interactions in 3D environments, such as CAD systems or
Beetleblocks
2014-11-06 17:03:51 +01:00
tonychenr
f308c23824
Fixed range 1 slider bug issue # 301
2014-10-07 19:15:08 -07:00
jmoenig
e88ea49374
updated history
2014-09-30 09:49:43 +02:00
Jens Mönig
03390418ae
Merge pull request #549 from Gubolin/issue_285
...
allow negative min/max values for sliders (fix #285 )
2014-09-30 09:40:28 +02:00
jmoenig
8f7d1833f6
Fix #563 (Paste into Chrome), thanks, @Muon, for the hint!
2014-08-13 18:06:57 +02:00
Gubolin
f28c50ed7f
allow negative min/max values for sliders ( fix #285 )
2014-08-02 16:24:27 +02:00
jmoenig
0cc14e2861
fixed #497 (prevent bubble shadows from getting cut-off)
...
thanks @Hardmath123 for this bug report
2014-07-29 13:09:18 +02:00
jmoenig
c4968843e4
fixed #508 (don’t popup empty menus)
...
thanks, @cycomached!
2014-07-11 17:59:16 +02:00
jmoenig
05c7482688
Morphic: directly edit properties in inspectors
2014-07-11 11:16:05 +02:00
jmoenig
d372e807a5
tweak glitch in event.keyCode/charCode
...
Thanks, Michael!
2014-07-11 09:35:49 +02:00
jmoenig
5185cead0b
keyboard shortcut ctrl/cmd-shift-a for '@'
2014-07-11 09:21:16 +02:00
jmoenig
90b30ceed5
Morphic tweaks
2014-06-23 15:17:19 +02:00
jmoenig
9c1d06b9ef
Morphic: Inspector enhancements
...
dynamic property update, keyboard shortcuts
2014-06-23 13:24:16 +02:00
jmoenig
089d1500b4
prepare release
...
correct last-changed-date
2014-05-20 10:55:14 +02:00
jmoenig
a53c189e4b
Morphic: Prevent default action for ctrl-/cmd-key events
...
… and allow using these for Snap! without having Chrome trigger its own
actions for them
2014-05-20 09:26:44 +02:00
jmoenig
8654d9c3fc
Morphic: Replaced deprecated DOM “body” references with “documentElement”
2014-02-03 17:30:31 +01:00
jmoenig
4a60bfba18
Fixed Morphic updateReferences()
...
how could this go undetected so long? :-)
2014-01-09 17:49:44 +01:00
jmoenig
f48460fc25
null-canvas blitting bug follow-up
2013-12-12 15:27:49 +01:00
jmoenig
59a39077b8
fixed #277 , #279 (blitting null-canvasses fails)
...
Thanks, Nathan, for the pointer to this!
2013-12-12 14:55:40 +01:00
jmoenig
c8bc990011
fixed #238 - don’t trigger events for eclipsed morphs
...
(whose parent-chain contains a hidden morph)
2013-11-22 11:00:05 +01:00
jmoenig
a8d08c147d
Condense damage list even more
...
by merging nearby rectangles, thanks, Craxic, for the idea for this in
#192
2013-10-15 11:29:51 +02:00
jmoenig
f3b8d8dcef
Condense damage list by merging overlapping dirty rectangles
...
thanks, Craxic, for suggesting the idea for this optimization in #192 !
2013-10-14 16:21:22 +02:00
jmoenig
8eb98dc5b1
fixed #172 , IF ON EDGE, BOUNCE
...
Morphic: Rectangle.amountToTranslateWithin()
2013-09-20 09:50:06 +02:00
jmoenig
a9a8ad6c9d
Morphic: mouseEnterDragging fix
...
and a few cosmetic changes due to JSLint's latest nitpickings
2013-08-06 13:02:09 +02:00
jmoenig
09e3a296c2
improved importing costumes
...
by dragging in pictures from other web pages, which now allows for
dragging links to pictures as well
2013-06-28 20:42:28 +02:00
jmoenig
25ea3d4a16
Morphic, Blocks: "flat" design fix
...
Handle manually "unshadowed" StringMorphs without throwing an
exception. This lets you load the tools library into "flat" mode again.
2013-06-21 09:06:46 +02:00
jmoenig
a7ebff7c5b
Morphic: focus World canvas on mouse down (otherwise prevent default)
2013-06-06 15:25:55 +02:00
jmoenig
3f585e5d5e
prevent undesired HTML5 dragstart event
...
(a new glitch introduced in Chrome 27)
2013-06-04 08:04:40 +02:00
jmoenig
e1a3092713
"Flat" GUI design preference
...
in the IDE's settings menu
2013-05-16 14:38:37 +02:00
jmoenig
b74695d4a0
"Flat" GUI design options
...
preparing for "flat" GUI skins
2013-05-15 16:03:56 +02:00
jmoenig
b5ddbfbc75
Reset Password Feature
...
(front end only)
2013-05-06 19:46:17 +02:00