mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-11 03:02:19 +00:00
Merge remote-tracking branch 'upstream/main' into CPLanguageModel-and-friends
This commit is contained in:
commit
5445d42eba
1 file changed
+8
@@ -2069,8 +2069,16 @@ Sets the selection to a range of characters in response to user action.
|
||||
[self setFrameSize:[self frameSize]];
|
||||
}
|
||||
|
||||
- (void)setBoundsSize:(CGSize)aSize
|
||||
{
|
||||
_exposedRect = nil; // Clear the cached visible rect when bounds change
|
||||
[super setBoundsSize:aSize];
|
||||
}
|
||||
|
||||
- (void)setFrameSize:(CGSize)aSize
|
||||
{
|
||||
_exposedRect = nil; // Clear the cached visible rect so it gets recalculated at the new size
|
||||
|
||||
var desiredSize = CGSizeCreateCopy(aSize);
|
||||
|
||||
if (_isHorizontallyResizable || _isVerticallyResizable)
|
||||
|
||||
Reference in new issue
Block a user