-
-
Notifications
You must be signed in to change notification settings - Fork 621
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
Remove dpi scaling of minimum_width & maximum_width #1926
Conversation
This was left over from #1877. Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
✅ Deploy Preview for conkyweb canceled.
|
@@ -661,8 +661,8 @@ bool display_output_wayland::main_loop_wait(double t) { | |||
text_size.y() + 2 * border_total != height || scale_changed)) { | |||
/* clamp text_width to configured maximum */ | |||
if (maximum_width.get(*state)) { | |||
int mw = global_window->scale * maximum_width.get(*state); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't remove maximum_width
scaling here.
text_size = conky::vec2i(dpi_scale(minimum_width.get(*state)), 0); | ||
text_size = conky::vec2i(minimum_width.get(*state), 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minimum_width
shouldn't scale either.
Next step would be reverting these changes 😆, introducing proper unit support, and making raw numbers default to |
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
This was left over from #1877.