Andreas Hocevar
953c5d6151
Refactor to avoid replayType member and binding
2018-01-09 15:43:20 +01:00
Andreas Hocevar
9397c41e6c
Use declutter tree only for text and image replays
2018-01-09 15:41:45 +01:00
Andreas Hocevar
1433835d74
Merge pull request #7676 from ahocevar/font-check
...
Check fonts against two reference fonts
2018-01-08 12:50:04 +01:00
Andreas Hocevar
e2af5f6be3
Check fonts against two reference fonts
...
In rare cases, the previous font check returned false negatives when
checking against monospace only. By checking against another font, this
can be avoided.
2018-01-03 10:34:18 +01:00
Andreas Hocevar
ad8f847465
Consider background box with stroke for hit detection
2018-01-01 12:32:26 +01:00
Andreas Hocevar
745bf3d79f
Hit-detect background fill and stroke
2018-01-01 12:32:26 +01:00
Andreas Hocevar
c5a2c2fd22
Apply fill and stroke only when set
2017-12-26 19:34:27 +01:00
Frederic Junod
085fddcb36
Rename _ol_Disposable_ to Disposable
2017-12-22 09:02:23 +01:00
Marc Jansen
02002082bf
Named exports from ol/array module
2017-12-19 17:22:58 +01:00
Marc Jansen
767f61ba78
Merge pull request #7637 from marcjansen/named-exports-color
...
Named exports from the ol/color module
2017-12-19 17:11:03 +01:00
Marc Jansen
295c2973b5
Named exports from ol/color module
2017-12-19 13:56:54 +01:00
Marc Jansen
a7c5897bdb
Named exports from ol/css module
2017-12-19 11:38:56 +01:00
Frederic Junod
11f1c693a8
Rename _ol_render_ReplayType_ to ReplayType
2017-12-18 16:39:07 +01:00
Frederic Junod
424ea22131
Rename _ol_style_TextPlacement_ to TextPlacement
2017-12-18 10:53:12 +01:00
Frederic Junod
e887b5012b
Rename _ol_structs_LRUCache_ to LRUCache
2017-12-17 09:00:48 +01:00
Frederic Junod
ed79ec9b2e
Rename _ol_structs_LinkedList_ to LinkedList
2017-12-17 08:58:15 +01:00
Frederic Junod
56163c5f37
Rename _ol_structs_RBush_ to RBush
2017-12-17 08:55:43 +01:00
Marc Jansen
1cc682e488
Rename _ol_events_Event_ to Event
2017-12-15 16:17:56 +01:00
Frederic Junod
0bc28323c8
Simplify default export
...
This removes unnecessary variable declarations where the default object is an object.
2017-12-15 15:21:25 +01:00
Frederic Junod
92bbec294c
Rename 'ol/vec/Mat4' module to 'ol/vec/mat4'
2017-12-15 10:36:32 +01:00
Frederic Junod
6e83a15bd6
Named exports from ol/colorlike
2017-12-15 08:51:18 +01:00
Frederic Junod
a32aebfb3a
Named exports from ol/vec/Mat4
2017-12-15 08:43:37 +01:00
Frederic Junod
2ca60292bb
Simplify default export
2017-12-14 12:23:06 -07:00
Tim Schaub
fca8b13ddd
Rename _ol_geom_SimpleGeometry_ to SimpleGeometry
2017-12-14 09:03:51 -07:00
Tim Schaub
504368369c
Rename _ol_geom_GeometryType_ to GeometryType
2017-12-14 09:00:57 -07:00
Tim Schaub
c502f016f7
Rename _ol_geom_Polygon_ to Polygon
2017-12-14 08:56:12 -07:00
Frederic Junod
f6627c4d4e
Named exports from ol/dom
2017-12-14 12:27:09 +01:00
Andreas Hocevar
c0c43bca84
Use named imports from extent
2017-12-13 14:05:42 +01:00
Tim Schaub
87295a74dd
Use named exports from ol/index.js
2017-12-12 12:34:23 -07:00
Tim Schaub
50737f7f73
Remove unused code, get tests passing on Travis
2017-12-12 06:58:02 -07:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Tim Schaub
1cdb6a66f0
Imports cased like the filename
2017-12-12 06:53:17 -07:00
Andreas Hocevar
a2d41da30f
Use full precision for the declutter box
2017-12-11 10:18:46 +01:00
Andreas Hocevar
74bf846ffe
Add pixel ratio to label cache key
2017-11-30 01:20:49 +01:00
Andreas Hocevar
9307c35c17
Improve vertical font placement in Firefox
2017-11-30 01:03:15 +01:00
Andreas Hocevar
ac195c46b1
Reuse declutter tree for hit detection
...
Replaying for hit detection no longer declutters, but uses the declutter tree
from the previous rendered frame.
2017-11-28 01:36:47 +01:00
Andreas Hocevar
674868a683
Deprecate exceedLength and replace with overflow
2017-11-27 09:25:41 +01:00
Andreas Hocevar
dce56ac73a
Merge pull request #7513 from ahocevar/stroke-key
...
Make strokeKey safer
2017-11-27 08:47:09 +01:00
Andreas Hocevar
66d5d66129
Prune the label cache less aggressively
2017-11-26 23:30:58 +01:00
Andreas Hocevar
f426c1cd18
Make strokeKey safer
2017-11-26 12:50:14 +01:00
Andreas Hocevar
0bf7e95619
Merge pull request #7477 from ahocevar/text-style-keys
...
Make text states available for replay time
2017-11-16 19:59:45 +01:00
Andreas Hocevar
c35789ba73
Add and improve tests
2017-11-16 11:52:26 +01:00
Andreas Hocevar
ad8e4debbe
Make text states available for replay time
2017-11-16 00:39:27 +01:00
Andreas Hocevar
febbba78dc
Reset text measurements when available fonts change
2017-11-15 18:44:26 +01:00
Andreas Hocevar
53b85a9192
Add rendering tests
2017-11-13 13:58:11 +01:00
Andreas Hocevar
df90f1b78c
Reuse more code
2017-11-12 22:49:32 +01:00
Andreas Hocevar
1afc686af9
Add text background rendering and text padding
2017-11-12 22:49:32 +01:00
Andreas Hocevar
6cc3c47d95
Merge pull request #7440 from ahocevar/font-load
...
Attempt to make font loading tests more stable
2017-11-10 10:09:42 +01:00
Andreas Hocevar
4324d49813
Attempt to make font loading tests more stable
...
Also changes things to use setInterval() instead of setTimeout().
2017-11-10 08:34:30 +01:00
Andreas Hocevar
c6eca804f9
Refactor stroke style management to reuse code
2017-11-10 01:16:18 +01:00