[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34209] trunk/blender/source/blender/ editors/animation/anim_markers.c: Bumping up margin for catching marker events in animation editors.

Joshua Leung aligorith at gmail.com
Sun Jan 9 23:37:29 CET 2011


Revision: 34209
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=34209
Author:   aligorith
Date:     2011-01-09 22:37:29 +0000 (Sun, 09 Jan 2011)
Log Message:
-----------
Bumping up margin for catching marker events in animation editors.

Old value of 30 px was perhaps a bit too strict, given that scrollbars
took up 16px and that standard icons are 16px, which in total would
have been 32px from the bottom of the region. Having said that, the
marker icons are only about half-size, though it seems that in general
people (can) only aim quite loosely...

Modified Paths:
--------------
    trunk/blender/source/blender/editors/animation/anim_markers.c

Modified: trunk/blender/source/blender/editors/animation/anim_markers.c
===================================================================
--- trunk/blender/source/blender/editors/animation/anim_markers.c	2011-01-09 19:09:41 UTC (rev 34208)
+++ trunk/blender/source/blender/editors/animation/anim_markers.c	2011-01-09 22:37:29 UTC (rev 34209)
@@ -363,7 +363,7 @@
  */
 
 /* maximum y-axis value (in region screen-space) that marker events should still be accepted for  */
-#define ANIMEDIT_MARKER_YAXIS_MAX 	30
+#define ANIMEDIT_MARKER_YAXIS_MAX 	40
 
 /* ------------------------ */
 




More information about the Bf-blender-cvs mailing list