docs(system): make all parameters for set_window_hit_test optional
This commit is contained in:
parent
3deeb762b4
commit
af2abe4c98
|
@ -107,10 +107,12 @@ function system.set_window_bordered(bordered) end
|
||||||
---When then window is run borderless (without system decorations), this
|
---When then window is run borderless (without system decorations), this
|
||||||
---function allows to set the size of the different regions that allow
|
---function allows to set the size of the different regions that allow
|
||||||
---for custom window management.
|
---for custom window management.
|
||||||
|
---To disable custom window management, call this function without any
|
||||||
|
---arguments
|
||||||
---
|
---
|
||||||
---@param title_height number
|
---@param title_height? number Height of the window decoration
|
||||||
---@param controls_width number Width of window controls (maximize,minimize and close buttons, etc).
|
---@param controls_width? number Width of window controls (maximize,minimize and close buttons, etc).
|
||||||
---@param resize_border number The amount of pixels reserved for resizing
|
---@param resize_border? number The amount of pixels reserved for resizing
|
||||||
function system.set_window_hit_test(title_height, controls_width, resize_border) end
|
function system.set_window_hit_test(title_height, controls_width, resize_border) end
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
Loading…
Reference in New Issue