Skip to content

Commit

Permalink
More responsiveness during scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
rossetantoine committed Feb 24, 2014
1 parent 797fa15 commit bad66d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 2 additions & 0 deletions MPRDCMView.m
Original file line number Diff line number Diff line change
Expand Up @@ -1382,6 +1382,8 @@ - (void)scrollWheel:(NSEvent *)theEvent
[self updateViewMPR: NO];
[self updateMousePosition: theEvent];

[self displayIfNeeded];

[NSObject cancelPreviousPerformRequestsWithTarget: windowController selector:@selector(delayedFullLODRendering:) object: self];
[windowController performSelector: @selector(delayedFullLODRendering:) withObject: self afterDelay: 0.2];
}
Expand Down
7 changes: 2 additions & 5 deletions OsiriX_Lion.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -32884,7 +32884,6 @@
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CLANG_X86_VECTOR_INSTRUCTIONS = ssse3;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_RESOURCE_RULES_PATH = Rules.plist;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
Expand Down Expand Up @@ -33295,7 +33294,6 @@
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CLANG_X86_VECTOR_INSTRUCTIONS = ssse3;
CODE_SIGN_IDENTITY = "Developer ID Application: Antoine Rosset";
CODE_SIGN_RESOURCE_RULES_PATH = Rules.plist;
COPY_PHASE_STRIP = NO;
Expand Down Expand Up @@ -33342,7 +33340,7 @@
GCC_FAST_MATH = YES;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
GCC_OPTIMIZATION_LEVEL = 3;
GCC_OPTIMIZATION_LEVEL = fast;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = OsiriX_Prefix.pch;
GCC_PREPROCESSOR_DEFINITIONS = NDEBUG;
Expand Down Expand Up @@ -33585,7 +33583,6 @@
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CLANG_X86_VECTOR_INSTRUCTIONS = ssse3;
CODE_SIGN_IDENTITY = "Developer ID Application: Antoine Rosset";
CODE_SIGN_RESOURCE_RULES_PATH = Rules.plist;
COPY_PHASE_STRIP = NO;
Expand Down Expand Up @@ -33631,7 +33628,7 @@
GCC_FAST_MATH = YES;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
GCC_OPTIMIZATION_LEVEL = 3;
GCC_OPTIMIZATION_LEVEL = fast;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = OsiriX_Prefix.pch;
GCC_PREPROCESSOR_DEFINITIONS = NDEBUG;
Expand Down

0 comments on commit bad66d2

Please sign in to comment.