mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 12:00:45 +00:00
Fix resizing mode by fixing initialization order.
This commit is contained in:
parent
fa1369cb64
commit
96db5bf89c
2 changed files with 7 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2022-03-31 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* Source/GSStandardWindowDecorationView.m:
|
||||
Fix resizing mode by fixing initialization order.
|
||||
|
||||
2022-03-29 Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Headers/Additions/GNUstepGUI/GSXibKeyedUnarchiver.h
|
||||
|
|
|
@ -319,15 +319,13 @@ calc_new_frame(NSRect frame, NSPoint point, NSPoint firstPoint,
|
|||
NSEvent *currentEvent = event;
|
||||
NSDate *distantPast = [NSDate distantPast];
|
||||
NSDate *distantFuture = [NSDate distantFuture];
|
||||
NSPoint firstPoint, point;
|
||||
NSPoint firstPoint = [event locationInWindow];
|
||||
NSPoint point;
|
||||
NSRect newFrame, frame;
|
||||
NSSize minSize, maxSize;
|
||||
int num = 0;
|
||||
GSResizeEdgeMode mode = [self resizeModeForPoint: firstPoint];
|
||||
|
||||
firstPoint = [event locationInWindow];
|
||||
|
||||
|
||||
frame = [window frame];
|
||||
minSize = [window minSize];
|
||||
maxSize = [window maxSize];
|
||||
|
|
Loading…
Reference in a new issue