mirror of
https://github.com/mattrberry/crab.git
synced 2025-01-29 20:35:13 +01:00
Upgrade ImGui to v1.86
This commit is contained in:
parent
c33dc77feb
commit
5405b3978b
2 changed files with 3 additions and 3 deletions
|
@ -20,10 +20,10 @@ dependencies:
|
|||
github: nulldotpro/LibGL
|
||||
imgui:
|
||||
github: oprypin/crystal-imgui
|
||||
commit: 3c57707 # lock a working v1.85 commit
|
||||
tag: v1.86
|
||||
imgui-backends:
|
||||
github: mattrberry/crystal-imgui-backends
|
||||
tag: v1.85
|
||||
tag: v1.86
|
||||
|
||||
development_dependencies:
|
||||
stumpy_png:
|
||||
|
|
|
@ -31,7 +31,7 @@ module ImGui
|
|||
display_size = ImGui.get_main_viewport.size
|
||||
width = Math.min(display_size.x - 40, 600)
|
||||
height = Math.min(display_size.y - 40, 16 * ImGui.get_text_line_height_with_spacing)
|
||||
if ImGui.begin_list_box("", ImGui::ImVec2.new(width, height))
|
||||
if ImGui.begin_list_box("##files", ImGui::ImVec2.new(width, height))
|
||||
@matched_entries.each_with_index do |entry, idx|
|
||||
next if entry[:hidden] && !@match_hidden
|
||||
next if entry[:file?] && !extensions.nil? && !extensions.includes?(entry[:extension])
|
||||
|
|
Loading…
Add table
Reference in a new issue