-
-
Notifications
You must be signed in to change notification settings - Fork 5
Ticket #4685: fix filename background color when scrolling #4685
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Yury V. Zaytsev <[email protected]>
23cab17
to
63443f4
Compare
Signed-off-by: Yury V. Zaytsev <[email protected]>
* (format_file): set FILENAME_SCROLL_LEFT flag if filename scroll offset is more than zero. * (repaint_file): display panel_filename_scroll_left_char if FILENAME_SCROLL_LEFT flag is set. Signed-off-by: Andrew Borodin <[email protected]>
Added commit with small fix. |
/approve |
So I actually thought about adding the exact same "fix" you did, but then I realized that this was probably done on purpose. Apparently, this feature was implemented to be completely hidden: Initially, I think that in FAR Manager this behavior is always unconditionally enabled. What do you think about enabling this feature by setting I think right now the discoverability of this feature is zero. I didn't even know it existed. But I actually like it better than collapsing, and if collapsing stays in all other places, hopefully this would not make people unhappy. |
Ha-ha, there is no end to this. Do you know why this failed now? Because @mc-worker is a private member of the organization, unlike @aborodin (or me). So GitHub cannot really check if you are authorized to post the comment o_O If you set it to public in @mc-worker profile, it should finally work :) |
Signed-off-by: Andrew Borodin <[email protected]>
Signed-off-by: Andrew Borodin <[email protected]>
* (WPanel): make content_shift and max_shift members unsigned. * (panel_sized_empty_new): init content_shift and max_shift members by zero. * (pamel_clean_dir): likewise. * (paint_dir): init max_shift by zero. * (format_file): simplify tests. Since content_shift and max_shift are unsigned, some conditions are always true. * (panel_content_scroll_left): likewise. * (panel_content_scroll_right): likewise.
Done. Please test. |
Proposed changes
The filename scrolling feature has a background coloring bug:
Refs: #2731