Skip to content

Commit bb4aaaf

Browse files
Add preview image to getCursorAlpha
1 parent 24735f8 commit bb4aaaf

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

functions/Cursor/getCursorAlpha.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ client:
22
name: 'getCursorAlpha'
33
pair: 'setCursorAlpha'
44
description: |
5-
This function is used to get the client's cursor alpha (transparency).
5+
This function is used to get the client's cursor alpha (transparency).
6+
preview_images:
7+
- path: '/assets/cursor-alpha.jpg'
8+
description: 'Visual representation of the cursor alpha'
69
returns:
710
description: |
811
Returns a int between 0 and 255, where 255 is fully opaque and 0 is fully transparent.

functions/Cursor/setCursorAlpha.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ client:
55
This function is used to change alpha (transparency) from the client's cursor.
66
preview_images:
77
- path: '/assets/cursor-alpha.jpg'
8-
description: 'Example for setCursorAlpha'
8+
description: 'Visual representation of the cursor alpha'
99
parameters:
1010
- name: 'alpha'
1111
type: 'int'

0 commit comments

Comments
 (0)