mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
Correction for issue which was causing size inspector not to update when a view was moved or changed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23153 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9674692ac1
commit
d77a7fa239
2 changed files with 7 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
|||
2006-07-09 17:59 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormViewEditor.m: Correction for issue which was causing
|
||||
size inspector not to update when a view was moved or changed.
|
||||
Removed code in editoedObjectFrameDidChange: and frameDidChange:
|
||||
to correct the problem.
|
||||
|
||||
2006-07-09 13:04 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormNibWrapperLoader.m: Correct test for customClass or
|
||||
|
|
|
@ -318,18 +318,14 @@ static BOOL currently_displaying = NO;
|
|||
|
||||
- (void) editedObjectFrameDidChange: (id) sender
|
||||
{
|
||||
[self setPostsFrameChangedNotifications: NO];
|
||||
[self setFrame: [_editedObject frame]];
|
||||
[self setBounds: [_editedObject frame]];
|
||||
[self setPostsFrameChangedNotifications: YES];
|
||||
}
|
||||
|
||||
- (void) frameDidChange: (id) sender
|
||||
{
|
||||
[_editedObject setPostsFrameChangedNotifications: NO];
|
||||
[self setBounds: [self frame]];
|
||||
[_editedObject setFrame: [self frame]];
|
||||
[_editedObject setPostsFrameChangedNotifications: YES];
|
||||
}
|
||||
|
||||
- (GormPlacementInfo *) initializeResizingInFrame: (NSView *)view
|
||||
|
|
Loading…
Reference in a new issue