fixed the scaling issue with the music workspace
This commit is contained in:
@@ -73,13 +73,24 @@ hl.window_rule({
|
|||||||
no_anim = true,
|
no_anim = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
local musicSides = 400
|
||||||
|
local musicBottom = 400
|
||||||
|
|
||||||
|
if Hostname == "mobile02" then
|
||||||
|
musicSides = 300
|
||||||
|
musicBottom = 300
|
||||||
|
elseif Hostname == "mobile03" then
|
||||||
|
musicSides = 200
|
||||||
|
musicBottom = 250
|
||||||
|
end
|
||||||
|
|
||||||
-- Define gaps for music workspace
|
-- Define gaps for music workspace
|
||||||
hl.workspace_rule({
|
hl.workspace_rule({
|
||||||
workspace = "special:music",
|
workspace = "special:music",
|
||||||
gaps_out = {
|
gaps_out = {
|
||||||
left = 400,
|
left = musicSides,
|
||||||
right = 400,
|
right = musicSides,
|
||||||
bottom = 400,
|
bottom = musicSides,
|
||||||
},
|
},
|
||||||
animation = "slidefadevert",
|
animation = "slidefadevert",
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user