MCPcopy Create free account
hub / github.com/Linloir/GraphBuilder / scrollToTop

Method scrollToTop

customScrollContainer.cpp:181–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181void ScrollAreaCustom::scrollToTop(){
182 curSpd = sqrt(8 * (- container->pos().y()) + 2) / 2;
183 scrollDown = true;
184 getCord->stop();
185 rfrshView->stop();
186 outOfEdge = false;
187 moveStored = 0;
188 nextMove = 1;
189 ignoreMaxSpeed = true;
190 rfrshView->start(30);
191}
192
193void ScrollAreaCustom::updateHeight(){
194 container->updateHeight();

Callers 2

ScrollToTopMethod · 0.80
slideOutMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected