MCPcopy Create free account
hub / github.com/YACReader/yacreader / setScrollYFromUser

Method setScrollYFromUser

YACReader/continuous_view_model.cpp:57–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void ContinuousViewModel::setScrollYFromUser(int scrollY)
58{
59 scrollYValue = std::max(0, scrollY);
60 recompute(RecomputePolicy::PreserveScrollClamped);
61}
62
63void ContinuousViewModel::setAnchorPage(int page)
64{

Calls

no outgoing calls

Tested by

no test coverage detected