Skip to content

Commit c78df1f

Browse files
authored
smaller offset
1 parent 63319ae commit c78df1f

File tree

1 file changed

+2
-1
lines changed
  • src/addons/addons/find-bar/blockly

1 file changed

+2
-1
lines changed

src/addons/addons/find-bar/blockly/Utils.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ export default class Utils {
103103
// sy = s.contentTop - y + Math.max(Math.min(32, 32 * scale), (s.viewHeight - yh) / 2);
104104
sy = y - s.contentTop - this.offsetY;
105105

106-
sx -= 300;
106+
// offset so we can actually see the block. The find bar will block it
107+
sx -= 200;
107108

108109
this.navigationHistory.storeView(this.navigationHistory.peek(), 64);
109110

0 commit comments

Comments
 (0)