From b7fb46eaa69516f7183941b2ffcb3a08ea69312a Mon Sep 17 00:00:00 2001 From: Li Jin Date: Sat, 3 Aug 2024 13:36:20 +0800 Subject: [PATCH] prevent link jumping when in full screen mode. [skip CI] --- Assets/Script/Dev/Entry.lua | 2 +- Assets/Script/Dev/Entry.yue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Script/Dev/Entry.lua b/Assets/Script/Dev/Entry.lua index 867caad60..5c19235fd 100644 --- a/Assets/Script/Dev/Entry.lua +++ b/Assets/Script/Dev/Entry.lua @@ -1365,7 +1365,7 @@ entryWindow = threadLoop(function() -- 802 url = webStatus.url -- 843 end -- 843 if url then -- 843 - if isDesktop then -- 844 + if isDesktop and not config.fullScreen then -- 844 if urlClicked then -- 845 BeginDisabled(function() -- 846 return Button(url) -- 846 diff --git a/Assets/Script/Dev/Entry.yue b/Assets/Script/Dev/Entry.yue index 944e650f0..29bad1939 100644 --- a/Assets/Script/Dev/Entry.yue +++ b/Assets/Script/Dev/Entry.yue @@ -841,7 +841,7 @@ entryWindow = threadLoop -> Separator! TextColored themeColor, "#{zh and '网页' or 'Web'} IDE" if url := webStatus?.url - if isDesktop + if isDesktop and not config.fullScreen if urlClicked BeginDisabled -> Button url elseif Button url