Changeset 150 for aedes.m


Ignore:
Timestamp:
Nov 4, 2010, 4:55:36 PM (8 years ago)
Author:
tjniskan
Message:
  • Fixed a small figure resize bug in aedes_resviewer
  • Added a quick hack for disabling mouse wheel zooming, which

apparently has some issues in OSX with magic mouse. Zooming can be
disabled by setting the DisableMouseWheel? preference to true, i.e.
setpref('Aedes','DisableMouseWheel?',true)

M aedes_resviewer.m
M aedes.m
M aedes_revision.m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aedes.m

    r149 r150  
    9999% Detect Matlab version
    100100[Dat.MatlabVersion,Dat.isImageProc] = aedes_getmatlabversion;
     101
    101102
    102103% Show license and warranty notification ----------------
     
    34373438l_ResizeFcn([],[])
    34383439
     3440% A quick hack option for disabling mouse wheel zooming, which apparently
     3441% has issues in OSX with magic mouse...
     3442try
     3443  Dat.DisableMouseWheel = getpref('Aedes','DisableMouseWheel');
     3444catch
     3445  Dat.DisableMouseWheel = false;
     3446end
     3447
    34393448%% Set callback for Mouse scroll wheel
    3440 if Dat.MatlabVersion>=7.05
     3449if Dat.MatlabVersion>=7.05 && ~Dat.DisableMouseWheel
    34413450  set(H.FIG,'WindowScrollWheelFcn',@l_MouseWheelFcn)
    34423451end
Note: See TracChangeset for help on using the changeset viewer.

Powered by Trac 1.0.9.Copyright © Juha-Pekka Niskanen 2008