mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 22:33:08 +01:00
Merge pull request #523 from dariomanesku/master
Fixing imgui visible() function.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user