Skip to content

Commit 698cd61

Browse files
committed
move to svg
1 parent def3430 commit 698cd61

File tree

11 files changed

+405
-3
lines changed

11 files changed

+405
-3
lines changed

2-ui/3-event-details/4-mouse-drag-and-drop/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ It would be better if we keep the initial shift of the element relative to the p
107107

108108
For instance, if we start dragging by the edge of the ball, then the cursor should remain over the edge while dragging.
109109

110-
![](ball_shift.png)
110+
![](ball_shift.svg)
111111

112112
1. When a visitor presses the button (`mousedown`) -- we can remember the distance from the cursor to the left-upper corner of the ball in variables `shiftX/shiftY`. We should keep that distance while dragging.
113113

Binary file not shown.
Loading
Binary file not shown.

2-ui/3-event-details/5-keyboard-events/article.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ On the other hand, there's a problem with `event.code`. For different keyboard l
9393

9494
For example, here are US layout ("QWERTY") and German layout ("QWERTZ") under it (courtesy of Wikipedia):
9595

96-
![](us-layout.png)
96+
![](us-layout.svg)
9797

98-
![](german-layout.png)
98+
![](german-layout.svg)
9999

100100
For the same key, US layout has "Z", while German layout has "Y" (letters are swapped).
101101

Binary file not shown.

0 commit comments

Comments
 (0)