Skip to content

Commit

Permalink
prevent link jumping when in full screen mode. [skip CI]
Browse files Browse the repository at this point in the history
  • Loading branch information
pigpigyyy committed Aug 3, 2024
1 parent 7233b5a commit b7fb46e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Assets/Script/Dev/Entry.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Assets/Script/Dev/Entry.yue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b7fb46e

Please sign in to comment.