MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / pageLeft

Method pageLeft

src/main/java/Client/SmilePicker.java:163–176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161
162
163 public void pageLeft(){
164 if (xCursor>0)
165 xCursor--;
166 else {
167 if (cursor==0) {
168 keyDwn();
169 pageLeft();
170 return;
171 }
172 xCursor=xCnt-1;
173 keyUp();
174 setRotator();
175 }
176 }
177 public void pageRight(){
178 if ( xCursor < ( (cursor<lines-1)?(xCnt-1):(xLastCnt-1) ) ) {
179 xCursor++;

Callers 1

doKeyActionMethod · 0.45

Calls 3

keyDwnMethod · 0.95
setRotatorMethod · 0.80
keyUpMethod · 0.45

Tested by

no test coverage detected