MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / displayRight

Function displayRight

lib/web/CodeMirror/test/scroll_test.js:28–33  ·  view source on GitHub ↗
(cm, scrollbar)

Source from the content-addressed store, hash-verified

26 }
27
28 function displayRight(cm, scrollbar) {
29 if (scrollbar && cm.display.scroller.offsetWidth > cm.display.scroller.clientWidth)
30 return barV(cm).getBoundingClientRect().left;
31 else
32 return cm.getWrapperElement().getBoundingClientRect().right - 1;
33 }
34
35 function testMovedownFixed(cm, hScroll) {
36 cm.setSize("100px", "100px");

Callers 1

testMoverightFunction · 0.85

Calls 1

barVFunction · 0.85

Tested by

no test coverage detected