diff options
author | pommicket <pommicket@gmail.com> | 2023-09-07 22:14:59 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-09-07 22:50:12 -0400 |
commit | 5100257c186d52ffb61fe26e302ec7205f291599 (patch) | |
tree | 9baa768319798c30fd7639061bab303def06d413 /node.c | |
parent | b8be8dd9239f1b08cb578539e634de73751fbad8 (diff) |
fix issue where selector detail is cut off
Diffstat (limited to 'node.c')
-rw-r--r-- | node.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -404,7 +404,7 @@ void node_frame(Ted *ted, Node *node, Rect r) { float title_xpos = tab_rect.pos.x; if (title_width > tab_rect.size.x) { // full tab title doesn't fit in tab -- only show the right end of it - title_xpos = tab_rect.pos.x + tab_rect.size.x - title_width; + title_xpos = floorf(tab_rect.pos.x + tab_rect.size.x - title_width); } text_state.min_x = rect_x1(tab_rect); text_state.max_x = rect_x2(tab_rect); |