fix wrong positions of menu and tooltip in secondary monitor
This commit is contained in:
parent
c143ba6816
commit
0fee5da0a8
@ -739,12 +739,12 @@ namespace nana
|
|||||||
|
|
||||||
int rectangle::right() const
|
int rectangle::right() const
|
||||||
{
|
{
|
||||||
return static_cast<int>(x + width);
|
return x + static_cast<int>(width);
|
||||||
}
|
}
|
||||||
|
|
||||||
int rectangle::bottom() const
|
int rectangle::bottom() const
|
||||||
{
|
{
|
||||||
return static_cast<int>(y + height);
|
return y + static_cast<int>(height);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool rectangle::is_hit(int pos_x, int pos_y) const
|
bool rectangle::is_hit(int pos_x, int pos_y) const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user