mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
Allow ValueViewers to have a bounding box different from the Style's. This closes #64.
This commit is contained in:
@@ -159,7 +159,7 @@ public:
|
||||
inline RealPoint bottomRight() const { return RealPoint(x + width, y + height); }
|
||||
|
||||
/// Return a rectangle that is amount larger to all sides
|
||||
inline RealRect grow(double amount) {
|
||||
inline RealRect grow(double amount) const {
|
||||
return RealRect(x - amount, y - amount, width + 2 * amount, height + 2 * amount);
|
||||
}
|
||||
/// Move the coordinates by some amount
|
||||
|
||||
Reference in New Issue
Block a user