mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-04-16 01:04:24 -04:00
Fixing imgui visible() function.
This commit is contained in:
parent
f05443c0e7
commit
5086338088
1 changed files with 2 additions and 2 deletions
|
@ -3080,8 +3080,8 @@ struct Imgui
|
|||
|
||||
bool visible(int32_t _elemY, int32_t _elemHeight, int32_t _scissorY, int32_t _scissorHeight)
|
||||
{
|
||||
return _elemY > _scissorY
|
||||
&& (_elemY+_elemHeight) < (_scissorY+_scissorHeight);
|
||||
return (_elemY+_elemHeight) > _scissorY
|
||||
&& (_elemY) < (_scissorY+_scissorHeight);
|
||||
}
|
||||
|
||||
inline Area& getCurrentArea()
|
||||
|
|
Loading…
Add table
Reference in a new issue