Skip to content

Commit cad9412

Browse files
committed
Remove TODO
1 parent 9226713 commit cad9412

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/assertthat/selenium_shutterbug/utils/web

1 file changed

+1
-1
lines changed

src/main/java/com/assertthat/selenium_shutterbug/utils/web/Browser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public BufferedImage takeScreenshotEntirePageDefault() {
130130
final int scrollBarMaxWidth = 40; // this is probably too high, but better to be safe than sorry
131131

132132
if (_viewportWidth < _docWidth || (_viewportHeight < _docHeight && _viewportWidth - scrollBarMaxWidth < _docWidth))
133-
_viewportHeight -= scrollBarMaxWidth; // some space for a scrollbar // TODO viewportHeight and scrollVarMaxWidth?
133+
_viewportHeight -= scrollBarMaxWidth; // some space for a scrollbar
134134
if (_viewportHeight < _docHeight)
135135
_viewportWidth -= scrollBarMaxWidth; // some space for a scrollbar
136136

0 commit comments

Comments
 (0)