Update property panels layers

This commit is contained in:
Insality
2025-10-26 22:35:03 +02:00
parent 3e0d898b32
commit f0f90ce9b1
9 changed files with 105 additions and 5 deletions

View File

@@ -366,7 +366,8 @@ end
---Check if device is desktop
---@return boolean
function M.is_desktop()
return const.CURRENT_SYSTEM_NAME == const.OS.WINDOWS or const.CURRENT_SYSTEM_NAME == const.OS.MAC or const.CURRENT_SYSTEM_NAME == const.OS.LINUX
local name = const.CURRENT_SYSTEM_NAME
return name == const.OS.WINDOWS or name == const.OS.MAC or name == const.OS.LINUX
end