mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 09:55:40 +00:00
io/pointer: rename cursors to match the JavaScript DOM
The names are a better match for layout.Direction. Signed-off-by: Inkeliz <inkeliz@inkeliz.com>
This commit is contained in:
@@ -111,21 +111,21 @@ const (
|
|||||||
// CursorNone hides the cursor. To show it again, use any other cursor.
|
// CursorNone hides the cursor. To show it again, use any other cursor.
|
||||||
CursorNone CursorName = "none"
|
CursorNone CursorName = "none"
|
||||||
// CursorTopLeftResize is the cursor for top-left corner resizing.
|
// CursorTopLeftResize is the cursor for top-left corner resizing.
|
||||||
CursorTopLeftResize CursorName = "top-left-resize"
|
CursorTopLeftResize CursorName = "nw-resize"
|
||||||
// CursorTopRightResize is the cursor for top-right corner resizing.
|
// CursorTopRightResize is the cursor for top-right corner resizing.
|
||||||
CursorTopRightResize CursorName = "top-right-resize"
|
CursorTopRightResize CursorName = "ne-resize"
|
||||||
// CursorBottomLeftResize is the cursor for bottom-left corner resizing.
|
// CursorBottomLeftResize is the cursor for bottom-left corner resizing.
|
||||||
CursorBottomLeftResize CursorName = "bottom-left-resize"
|
CursorBottomLeftResize CursorName = "sw-resize"
|
||||||
// CursorBottomRightResize is the cursor for bottom-right corner resizing.
|
// CursorBottomRightResize is the cursor for bottom-right corner resizing.
|
||||||
CursorBottomRightResize CursorName = "bottom-right-resize"
|
CursorBottomRightResize CursorName = "se-resize"
|
||||||
// CursorLeftResize is the cursor for left resizing.
|
// CursorLeftResize is the cursor for left resizing.
|
||||||
CursorLeftResize CursorName = "left-resize"
|
CursorLeftResize CursorName = "w-resize"
|
||||||
// CursorRightResize is the cursor for right resizing.
|
// CursorRightResize is the cursor for right resizing.
|
||||||
CursorRightResize CursorName = "right-resize"
|
CursorRightResize CursorName = "e-resize"
|
||||||
// CursorTopResize is the cursor for top resizing.
|
// CursorTopResize is the cursor for top resizing.
|
||||||
CursorTopResize CursorName = "top-resize"
|
CursorTopResize CursorName = "n-resize"
|
||||||
// CursorBottomResize is the cursor for bottom resizing.
|
// CursorBottomResize is the cursor for bottom resizing.
|
||||||
CursorBottomResize CursorName = "bottom-resize"
|
CursorBottomResize CursorName = "s-resize"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
Reference in New Issue
Block a user