homepagechanged.luac.lua

来自「htc manila 2 sourcecode」· LUA 代码 · 共 26 行

LUA
26
字号
-- Decompiled using luadec 0.4 by sztupy (http://winmo.sztupy.hu)
-- Command line was: -l ;; 01d9e30a_manila.luac 

OnGizmoPageChanged = function()
   local l = _application.Store:GetIntValue(Lifetime_Application, "ShowCacheHomePage")
   if l == 1 then
      trace("[Home.m9] status == 1")
      DummyFocusHolder:Focus()
      if HomeTitleBar ~= nil then
         if machineStatus.CachedBackgroundPath.Value ~= "" then
            HomeTitleBar.Opacity.value = 60
            _application.Navigation.TabTrayOpacity = 60
         else
            HomeTitleBar.Opacity.value = 100
            _application.Navigation.TabTrayOpacity = 100
         end
      end         
   elseif HomeTitleBar ~= nil then
      HomeTitleBar.Opacity.value = 100
   end
end

machineStatus.CachedBackgroundPath.OnValueChanged:connect(OnGizmoPageChanged)
_application.Store:GetValueChangedEvent(Lifetime_Application, "ShowCacheHomePage"):connect(OnGizmoPageChanged, self)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?