MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / scroll

Method scroll

src/main/java/ui/VirtualCanvas.java:547–562  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

545 }
546
547 public boolean scroll() {
548 synchronized (this) {
549 if (scrollline == false || attachedList == null || scrollLen < 0) {
550 return false;
551 }
552 if (attachedList.offset >= scrollLen) {
553 scrollLen = -1;
554 attachedList.offset = 0;
555 scrollline = false;
556 } else {
557 attachedList.offset += 14;
558 }
559
560 return true;
561 }
562 }
563 /*
564 public void destroyTask(){
565 synchronized (this) {

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected