Skip to content

Commit f5e5c55

Browse files
authored
Minor fix suggestion in visual-effects.md (#1436)
IMHO, I think `foo` refers to the variable named foo in the source code. Is there a reason for using the _?
1 parent 06d432e commit f5e5c55

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

book/visual-effects.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ features like that.
790790

791791
Next, `draw` should copy from the chrome and tab surfaces to the root
792792
surface. Moreover, we need to translate the `tab_surface` down by
793-
`chrome_bottom` and up by `scroll`, and clip it to just the area of
793+
`chrome.bottom` and up by `scroll`, and clip it to just the area of
794794
the window that doesn't overlap the browser chrome:
795795

796796
``` {.python}
@@ -863,7 +863,7 @@ class Browser:
863863
We also have some related changes in `Tab`. Let's rename `Tab`'s
864864
`draw` method to `raster`. In it, we no longer need
865865
to pass around the scroll offset to the `execute` methods, or account
866-
for `chrome_bottom`, because we always draw the whole tab to the tab
866+
for `chrome.bottom`, because we always draw the whole tab to the tab
867867
surface:
868868

869869
``` {.python}

0 commit comments

Comments
 (0)