Commit Graph
3 Commits
Author SHA1 Message Date
Matt Walker a389903749 Import transpiled rbush. Resolves #10379 2019-12-05 12:09:42 +00:00
Matt Walker caa4a0566e Set user-select: text for .ol-selectable
In order to allow a user to select content within an element with the `.ol-selectable` class the `user-select` CSS property should be `text`. 

The current value of `auto` results in a computed value of `none` due to the rule `.ol-viewport, .ol-unselectable` specifying `user-select: none`. According to the [the specification](https://www.w3.org/TR/css-ui-4/#valdef-user-select-auto):

> if the computed value of `user-select` on the parent of this element is `none`, the computed value is `none`

Tested manually on Chromium, Firefox and IE11.
2018-03-26 14:16:45 +01:00
Matt Walker 90d8224a08 Fix Draw.removeLastPoint exception when no points to remove 2017-12-01 15:50:21 +00:00