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

Method scrollUp

src/main/java/ui/controls/PopUp.java:133–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131 }
132
133 private void scrollUp() {
134 if (scrollable==SCROLLABLE_UP || scrollable==SCROLLABLE_BOTH) {
135 Vector lines=((PopUpElement)popUps.elementAt(0)).getMessage();
136 if (lines.size()<1) return;
137 startLine--;
138 }
139 }
140
141 public boolean handlePressed(int keyCode) {
142 handled = false;

Callers 1

handlePressedMethod · 0.95

Calls 2

getMessageMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected