mirror of
https://github.com/hyprwm/hyprcursor.git
synced 2024-12-22 02:09:48 +01:00
docs: Correction in hotspot coordinates documentation (#63)
This commit is contained in:
parent
912d56025f
commit
b98726e431
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ Each cursor image is a separate directory. In it, multiple size variations can b
|
||||||
resize_algorithm = bilinear
|
resize_algorithm = bilinear
|
||||||
|
|
||||||
# "hotspot" is where in your cursor the actual "click point" should be.
|
# "hotspot" is where in your cursor the actual "click point" should be.
|
||||||
# this is in absolute coordinates. x+ is east, y+ is north.
|
# this is in absolute coordinates. x+ is east, y+ is south.
|
||||||
# the pixel coordinates of the hotspot at size are rounded to the nearest:
|
# the pixel coordinates of the hotspot at size are rounded to the nearest:
|
||||||
# (round(size * hotspot_x), round(size * hotspot_y))
|
# (round(size * hotspot_x), round(size * hotspot_y))
|
||||||
hotspot_x = 0.0 # this goes 0 - 1
|
hotspot_x = 0.0 # this goes 0 - 1
|
||||||
|
@ -102,4 +102,4 @@ define_override = 'shape1;shape2;shape3'
|
||||||
define_size = '24,image1.png,200;24,image2.png,200;32,image3.png,200'
|
define_size = '24,image1.png,200;24,image2.png,200;32,image3.png,200'
|
||||||
```
|
```
|
||||||
|
|
||||||
You can put spaces around the semicolons if you prefer to.
|
You can put spaces around the semicolons if you prefer to.
|
||||||
|
|
Loading…
Reference in a new issue