Skip to content

Commit

Permalink
Fixed entry filter input displaying. [skip CI]
Browse files Browse the repository at this point in the history
  • Loading branch information
pigpigyyy committed Nov 26, 2024
1 parent 6d6141a commit 1a35bc5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions Assets/Script/Dev/Entry.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1563,17 +1563,17 @@ entryWindow = threadLoop(function() -- 882
SameLine() -- 956
end -- 954
TextColored(themeColor, "DORA SSR " .. tostring(zh and '开发' or 'DEV')) -- 957
SameLine() -- 958
if fullWidth >= 360 then -- 959
Dummy(Vec2(fullWidth - 360, 0)) -- 960
if fullWidth >= 320 then -- 958
SameLine() -- 959
Dummy(Vec2(fullWidth - 320, 0)) -- 960
SameLine() -- 961
SetNextItemWidth(-50) -- 962
SetNextItemWidth(-30) -- 962
if InputText(zh and '筛选' or 'Filter', filterBuf, { -- 963
"AutoSelectAll" -- 963
}) then -- 963
config.filter = filterBuf.text -- 964
end -- 963
end -- 959
end -- 958
Separator() -- 965
return Dummy(Vec2(fullWidth - 20, 0)) -- 966
end) -- 952
Expand Down
8 changes: 4 additions & 4 deletions Assets/Script/Dev/Entry.yue
Original file line number Diff line number Diff line change
Expand Up @@ -955,11 +955,11 @@ entryWindow = threadLoop ->
Image "Image/icon_s.png", Vec2 24, 24
SameLine!
TextColored themeColor, "DORA SSR #{zh and '开发' or 'DEV'}"
SameLine!
if fullWidth >= 360
Dummy Vec2 fullWidth - 360, 0
if fullWidth >= 320
SameLine!
Dummy Vec2 fullWidth - 320, 0
SameLine!
SetNextItemWidth -50
SetNextItemWidth -30
if InputText zh and '筛选' or 'Filter', filterBuf, ["AutoSelectAll",]
config.filter = filterBuf.text
Separator!
Expand Down

0 comments on commit 1a35bc5

Please sign in to comment.