projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow full circle rotation with 2degs step for plantlike drawtype.
[oweals/minetest.git]
/
src
/
guiTable.cpp
diff --git
a/src/guiTable.cpp
b/src/guiTable.cpp
index e2da4eadaab58ba494f98ef2eb54592913f7db6d..6ce8574865d4c8e456ba871ded02295098e84064 100644
(file)
--- a/
src/guiTable.cpp
+++ b/
src/guiTable.cpp
@@
-833,7
+833,7
@@
bool GUITable::OnEvent(const SEvent &event)
if (event.MouseInput.Event == EMIE_MOUSE_WHEEL) {
m_scrollbar->setPos(m_scrollbar->getPos() +
- (event.MouseInput.Wheel < 0 ? -
1 : 1
) *
+ (event.MouseInput.Wheel < 0 ? -
3 : 3
) *
- (s32) m_rowheight / 2);
return true;
}