mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
quick check with linters
This commit is contained in:
parent
92f185ab51
commit
9522aedeec
55 changed files with 129 additions and 184 deletions
|
|
@ -44,10 +44,8 @@ void GUI::onAssetsLoad(Assets* assets) {
|
|||
), "core:root");
|
||||
}
|
||||
|
||||
/** Mouse related input and logic handling
|
||||
* @param delta delta time
|
||||
*/
|
||||
void GUI::actMouse(float delta) {
|
||||
// @brief Mouse related input and logic handling
|
||||
void GUI::actMouse() {
|
||||
auto hover = container->getAt(Events::cursor, nullptr);
|
||||
if (this->hover && this->hover != hover) {
|
||||
this->hover->setHover(false);
|
||||
|
|
@ -125,7 +123,7 @@ void GUI::act(float delta, const Viewport& vp) {
|
|||
auto prevfocus = focus;
|
||||
|
||||
if (!Events::_cursor_locked) {
|
||||
actMouse(delta);
|
||||
actMouse();
|
||||
}
|
||||
|
||||
if (focus) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue