stickies: additive cursor icon

pull/3100/head
Mime Čuvalo 2024-03-11 09:21:29 +00:00
rodzic a8b7d4e2d0
commit ad85208116
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: BA84499022AC984D
4 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -64,6 +64,7 @@
/* These cursor values get programmatically overridden */
/* They're just here to help your editor autocomplete */
--tl-cursor: var(--tl-cursor-default);
--tl-cursor-copy: copy;
--tl-cursor-resize-edge: ew-resize;
--tl-cursor-resize-corner: nesw-resize;
--tl-cursor-ew-resize: ew-resize;

Wyświetl plik

@ -36,6 +36,7 @@ function getCursorCss(
const STATIC_CURSORS = [
'default',
'pointer',
'copy',
'cross',
'move',
'grab',

Wyświetl plik

@ -8,7 +8,7 @@ export class Idle extends StateNode {
}
override onEnter = () => {
this.editor.setCursor({ type: 'cross', rotation: 0 })
this.editor.setCursor({ type: 'copy', rotation: 0 })
}
override onCancel = () => {

Wyświetl plik

@ -9,6 +9,7 @@ export const TL_CURSOR_TYPES = new Set([
'none',
'default',
'pointer',
'copy',
'cross',
'grab',
'rotate',