gr33nhouse: Scroll too long app names into view
1 unresolved thread
1 unresolved thread
Merge request reports
Activity
added 1 commit
- 1b9b2ad8 - gr33nhouse: Scroll too long app names into view
added 1 commit
- 339573ba - gr33nhouse: Scroll too long app names into view
added 1 commit
- 465f84bc - gr33nhouse: Scroll too long app names into view
added 1 commit
- f298946d - gr33nhouse: Scroll too long app names into view
101 103 102 104 ctx.move_to(0, 0) 103 105 for idx, app in enumerate(self.apps): 104 if idx == self._sc.target_position(): 106 target = idx == self._sc.target_position() 107 if target: 105 108 ctx.gray(0.0) 106 109 else: 107 110 ctx.gray(1.0) 108 111 109 112 if abs(self._sc.current_position() - idx) <= 5: 110 ctx.move_to(0, offset) 113 xpos = 0.0 114 if target and (width := ctx.text_width(app["name"])) > 220: There's no
ctx
inthink
, so it's not easy to do it right away when switching, and otherwise I'm not sure if it's worth the complexity - it's already being short-circuited for anything else than currently selected app, so it only does one call perdraw
anyway. Unlike !212 (merged) the difference in performance isn't really noticeable here ;)
- Resolved by dos
added 1 commit
- ea105125 - gr33nhouse: Scroll too long app names into view
added 15 commits
-
ea105125...cd819d50 - 14 commits from branch
flow3r:main
- d9c434aa - gr33nhouse: Scroll too long app names into view
-
ea105125...cd819d50 - 14 commits from branch
enabled an automatic merge when the pipeline for d9c434aa succeeds
Please register or sign in to reply