mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-26 18:21:04 +00:00
Add setting to disable smooth scrolling
This commit is contained in:
parent
e6f77b95f3
commit
0fb67ccb34
4 changed files with 28 additions and 22 deletions
|
@ -53,6 +53,8 @@ public:
|
|||
//! Sets a position immediately, aborting any ongoing interpolation.
|
||||
// setPos does not send EGET_SCROLL_BAR_CHANGED events for you.
|
||||
void setPos(const s32 &pos);
|
||||
//! The same as setPos, but it takes care of sending EGET_SCROLL_BAR_CHANGED events.
|
||||
void setPosAndSend(const s32 &pos);
|
||||
//! Sets a target position for interpolation.
|
||||
// If you want to do an interpolated addition, use
|
||||
// setPosInterpolated(getTargetPos() + x).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue