docs: Correction in hotspot coordinates documentation (#63)

This commit is contained in:
Pascal Lasnier 2024-09-28 14:13:23 +00:00 committed by GitHub
parent 912d56025f
commit b98726e431
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.