Revision: 14535
http://sourceforge.net/p/skim-app/code/14535
Author: hofman
Date: 2024-10-09 16:13:38 +0000 (Wed, 09 Oct 2024)
Log Message:
-----------
get width for separate transitions after making those transition, as the width
can change
Modified Paths:
--------------
trunk/SKPresentationOptionsSheetController.m
Modified: trunk/SKPresentationOptionsSheetController.m
===================================================================
--- trunk/SKPresentationOptionsSheetController.m 2024-10-09 14:50:06 UTC
(rev 14534)
+++ trunk/SKPresentationOptionsSheetController.m 2024-10-09 16:13:38 UTC
(rev 14535)
@@ -415,10 +415,6 @@
editor && [window firstResponder] != editor)
[window makeFirstResponder:firstResponder];
- if (separate) {
- width += [tableWidthConstraint constant] + TABLE_OFFSET;
- }
-
// when undo or redo will also set the transitions
if ([[self undoManager] isUndoing] == NO && [[self undoManager]
isRedoing] == NO) {
if (separate)
@@ -427,6 +423,9 @@
[self setTransitions:@[transition]];
}
+ if (separate)
+ width += [tableWidthConstraint constant] + TABLE_OFFSET;
+
if (isVisible && [NSView shouldShowSlideAnimation]) {
[NSAnimationContext runAnimationGroup:^(NSAnimationContext
*context){
[[boxLeadingConstraint animator] setConstant:width];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit