Skip to content

Commit

Permalink
Enable custom cursors on Safari 11.4 and up
Browse files Browse the repository at this point in the history
FIX: Stop disabling custom cursors on Safari version 11.4 and up, which support
`caret-color`.

Issue codemirror/dev#1487
  • Loading branch information
marijnh committed Dec 6, 2024
1 parent e7d6eeb commit 2665440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/draw-selection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {EditorView} from "./editorview"
import {layer, RectangleMarker} from "./layer"
import browser from "./browser"

const CanHidePrimary = !browser.ios // FIXME test IE
const CanHidePrimary = !(browser.ios && browser.webkit && browser.webkit_version < 534)

type SelectionConfig = {
/// The length of a full cursor blink cycle, in milliseconds.
Expand Down

0 comments on commit 2665440

Please sign in to comment.