- Added scale options.
- New API: instance:GetRealSize() return the width and height scaled. - New API: instance:GetPositionOnScreen() return the window x, y position on screen. - New API: instance:SetWindowScale (scale) set the window scale. - New API: instance:IsGroupedWith (instance) return if self is groupped with instance. - New API: instance:GetInstanceGroup([,instance id]) return a table with instance in the group.
This commit is contained in:
@@ -143,6 +143,7 @@ function _detalhes.switch:ShowMe (instancia)
|
||||
_detalhes.switch:Resize()
|
||||
_detalhes.switch:Update()
|
||||
|
||||
_detalhes.switch.frame:SetScale (instancia.window_scale)
|
||||
_detalhes.switch.frame:Show()
|
||||
|
||||
if (not _detalhes.tutorial.bookmark_tutorial) then
|
||||
|
||||
Reference in New Issue
Block a user