Vladimir Agafonkin
88dd22cfe8
upgrade deps, fix indenting ( #5743 )
2017-08-31 08:58:42 +02:00
Michael Fenwick
0e36b948cd
Feature: optionally allow popups to not close on pressing Esc ( #5730 )
...
* add test for disabled popup ESC key functionality
* add closeOnEscapeKey default option for popup
* add ESC key condition to prevent map.closePopup
* fix variable indentation
* revert unnecessary mapPopup variable back to map._popup
* add 4 spaces of indentation to variables
2017-08-28 16:11:54 +02:00
Iván Sánchez Ortega
f57b5bf7ee
Couple tests for Map.Keyboard.disable()
2017-02-14 13:15:50 +01:00
Iván Sánchez Ortega
c856c6090f
Do not stop keypress on escape if no popup is open
2017-02-14 13:15:50 +01:00
Yohan Boniface
bd2616f901
Do not rely on options.draggable to compute draggableMoved ( #4638 )
...
One can enable dragging of a marker after it has been initialized
with draggable=false.
2016-07-08 11:22:54 +02:00
Per Liedman
01790eacda
Ignore events if Draggable is disabled, fixing disabling drag on click in IE11 ( #4479 )
...
* Ingore events if Draggable is disabled
Close #3666 .
* Add test for verifying fix to #3666
2016-06-27 16:16:03 -07:00
Iván Sánchez Ortega
23890c5fa4
Skip a touch unit test on non-touch browsers
2016-04-19 12:21:01 +02:00
Iván Sánchez Ortega
5389d23e79
Add unit test for drag handler enable/disable bug ( #4387 )
2016-04-15 15:30:39 +02:00
David Uvenman
864326610a
Added click tolerance also for non-touch devices ( #4396 )
...
* Added option for click tolerance. This option is used as a threshold to determine if the user event should be considered a click or a drag.
* Updated docs for clickTolerance to state the correct default value.
* Added tests for click threshold
2016-04-15 10:18:50 +02:00
Iván Sánchez Ortega
c6c0e4f484
Switch prosthetic-hand to 1.3.0 and use onStop callback
2016-04-02 17:55:22 +02:00
Iván Sánchez Ortega
8da61993d2
Added four prosthetic-hand tests, checking mouse&touch drag events and touch-zoom
2016-03-18 15:24:42 +01:00
Vladimir Agafonkin
cfdbd10431
enforce indentation in specs
2015-09-25 13:55:37 +03:00
Vladimir Agafonkin
91c039b7aa
jshinting and major clean up of specs code, ref #2151
2013-11-07 23:54:33 +02:00
fastrde
a8a8ebe309
added a spec test for worldCopyJump set Center and Zoom fix #1982
2013-08-18 03:18:21 +02:00