Skip to content

Commit 961044f

Browse files
committed
Merge branch 'main' into feat/new-notifs
2 parents a9275c8 + 7990a82 commit 961044f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- Nothing
66

77
### Fixed:
8+
- Fix switching view modes with "Table header outside list" disabled (by @Willy-JL)
89
- Fix GUI redraws not pausing when unfocused, hovered and not moving mouse (by @Willy-JL)
910

1011
### Removed:

modules/gui.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3277,7 +3277,7 @@ def tick_list_columns(self):
32773277
offset = ghost_column_size * self.ghost_columns_enabled_count
32783278
imgui.set_cursor_pos_x(imgui.get_cursor_pos_x() - offset)
32793279
pos_y = imgui.get_cursor_pos_y()
3280-
header_h = imgui.get_text_line_height_with_spacing() if globals.settings.table_header_outside_list else 0
3280+
header_h = imgui.get_text_line_height_with_spacing() if globals.settings.table_header_outside_list else 1
32813281
if imgui.begin_table(
32823282
table_id,
32833283
column=cols.count,
@@ -3307,7 +3307,8 @@ def tick_list_columns(self):
33073307
imgui.table_header(column.header)
33083308

33093309
imgui.end_table()
3310-
imgui.set_cursor_pos_y(pos_y + header_h)
3310+
if not globals.settings.table_header_outside_list:
3311+
imgui.set_cursor_pos_y(pos_y + header_h)
33113312

33123313
def get_game_cell_config(self):
33133314
side_indent = imgui.style.item_spacing.x * 2

0 commit comments

Comments
 (0)