mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
Panels scrolling, scissors test fix
This commit is contained in:
parent
e6c9a38f0c
commit
be807535f5
10 changed files with 97 additions and 15 deletions
|
|
@ -10,6 +10,7 @@ float Events::deltaX = 0.0f;
|
|||
float Events::deltaY = 0.0f;
|
||||
float Events::x = 0.0f;
|
||||
float Events::y = 0.0f;
|
||||
int Events::scroll = 0;
|
||||
bool Events::_cursor_locked = false;
|
||||
bool Events::_cursor_started = false;
|
||||
std::vector<uint> Events::codepoints;
|
||||
|
|
@ -62,6 +63,7 @@ void Events::pullEvents(){
|
|||
_current++;
|
||||
deltaX = 0.0f;
|
||||
deltaY = 0.0f;
|
||||
scroll = 0;
|
||||
codepoints.clear();
|
||||
pressedKeys.clear();
|
||||
glfwPollEvents();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue