mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Fixed slider's behavior, especially for mobile systems
This commit is contained in:
@@ -109,6 +109,11 @@ public:
|
||||
return Rect(x+p.x,y+p.y,w,h);
|
||||
}
|
||||
|
||||
Rect operator-(const Point &p) const
|
||||
{
|
||||
return Rect(x-p.x,y-p.y,w,h);
|
||||
}
|
||||
|
||||
Rect& operator=(const Rect &p)
|
||||
{
|
||||
x = p.x;
|
||||
|
||||
Reference in New Issue
Block a user