Skip to content
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

fix for showing scrollbars #416

Merged
merged 2 commits into from
Apr 25, 2022
Merged

fix for showing scrollbars #416

merged 2 commits into from
Apr 25, 2022

Conversation

willmcgugan
Copy link
Collaborator

@willmcgugan willmcgugan commented Apr 25, 2022

Fix for scrollbars not being enabled on first refresh.

The issue was that scrollbars weren't enabled prior to changing the sizes.

@codecov-commenter
Copy link

codecov-commenter commented Apr 25, 2022

Codecov Report

Merging #416 (716dc22) into css (386aa6d) will increase coverage by 8.09%.
The diff coverage is 50.96%.

@@            Coverage Diff             @@
##              css     #416      +/-   ##
==========================================
+ Coverage   38.06%   46.15%   +8.09%     
==========================================
  Files          85       96      +11     
  Lines        6526     7982    +1456     
==========================================
+ Hits         2484     3684    +1200     
- Misses       4042     4298     +256     
Flag Coverage Δ
unittests 46.15% <50.96%> (+8.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/textual/_event_broker.py 0.00% <ø> (ø)
src/textual/app.py 0.00% <0.00%> (ø)
src/textual/design.py 0.00% <0.00%> (ø)
src/textual/drivers/linux_driver.py 0.00% <0.00%> (ø)
src/textual/layouts/grid.py 21.42% <ø> (-8.04%) ⬇️
src/textual/renderables/blank.py 0.00% <0.00%> (ø)
src/textual/scrollbar.py 0.00% <0.00%> (ø)
src/textual/views/_dock_view.py 0.00% <0.00%> (ø)
src/textual/views/_document_view.py 0.00% <0.00%> (ø)
src/textual/views/_grid_view.py 0.00% <0.00%> (ø)
... and 75 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 04a1ba3...716dc22. Read the comment docs.

@@ -253,7 +253,7 @@ def log(
key_values = " ".join(
f"{key}={value}" for key, value in kwargs.items()
)
output = " ".join((output, key_values))
output = f"{output} {key_values}" if output else key_values
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previously logs had an extra space if you only used keywords args.

@willmcgugan willmcgugan merged commit 8e1babd into css Apr 25, 2022
@willmcgugan willmcgugan deleted the scrollbar-show-fix branch April 25, 2022 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants