mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Merge pull request #523 from dariomanesku/master
Fixing imgui visible() function.
This commit is contained in:
commit
105ee8c708
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…
Reference in a new issue