Przeglądaj źródła

fix: allow text-selecting in dialogs & reset cursor (#2783)

Co-authored-by: dwelle <luzar.david@gmail.com>
vanilla_orig
Rafi 4 lat temu
rodzic
commit
af79461f41
No account linked to committer's email address

+ 5
- 0
src/components/Dialog.scss Wyświetl plik

@@ -1,6 +1,11 @@
1 1
 @import "../css/_variables";
2 2
 
3 3
 .excalidraw {
4
+  .Dialog {
5
+    user-select: text;
6
+    cursor: auto;
7
+  }
8
+
4 9
   .Dialog__title {
5 10
     display: grid;
6 11
     align-items: center;

+ 1
- 0
src/packages/excalidraw/CHANGELOG.md Wyświetl plik

@@ -31,6 +31,7 @@ Please add the latest change on the top under the correct section.
31 31
 
32 32
 ### Fixes
33 33
 
34
+- Allow text-selecting in dialogs & reset cursor [#2783](https://github.com/excalidraw/excalidraw/pull/2783)
34 35
 - Fix late-render due to debounced zoom [#2779](https://github.com/excalidraw/excalidraw/pull/2779)
35 36
 - Fix initialization when browser tab not focused [#2677](https://github.com/excalidraw/excalidraw/pull/2677)
36 37
 - Consistent case for export locale strings [#2622](https://github.com/excalidraw/excalidraw/pull/2622)

Ładowanie…
Anuluj
Zapisz