Fist Posted March 22, 2017 Share Posted March 22, 2017 why when you scroll scrollbar in scrollpane to up from bottom it resets back to up even if you moved it a little bit, it's almost same when you scroll down aswell. Any fix for this? Link to comment
Skully Posted March 22, 2017 Share Posted March 22, 2017 Was unable to reproduce this, what are you doing that's causing it to move back up top or bottom? Works fine for me. Link to comment
Fist Posted March 23, 2017 Author Share Posted March 23, 2017 (edited) 7 hours ago, Skully said: Was unable to reproduce this, what are you doing that's causing it to move back up top or bottom? Works fine for me. Nothing really, i just have scroll pane with images in it and if i move it little bit from bottom to top it resets instantly to the top and it's so frustrating. Here's scrolling code what i use. addEventHandler("onClientMouseWheel",GUIEditor.scrollpane[1],function(up_down) if (up_down == 1) then guiScrollPaneSetVerticalScrollPosition(GUIEditor.scrollpane[1],guiScrollPaneGetVerticalScrollPosition(GUIEditor.scrollpane[1])-4) elseif (up_down == -1) then guiScrollPaneSetVerticalScrollPosition(GUIEditor.scrollpane[1],guiScrollPaneGetVerticalScrollPosition(GUIEditor.scrollpane[1])+4) end end); Could it be this fault? But i read somewhere that it was MTA's fault in bug reports at wiki. Edited March 23, 2017 by Fist Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now