Changeset 19
- Timestamp:
- 03/27/07 18:55:06 (2 years ago)
- Files:
-
- trunk/src/xtra2.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/xtra2.c
r1 r19 2491 2491 } 2492 2492 2493 /* Scroll screen vertically when 1/4 screen_hgtgrids from top/bottom edge */2494 else if ((py < wy + screen_hgt / 4) || (py >= wy + (3 * screen_hgt) / 4))2493 /* Scroll screen vertically when 3 grids from top/bottom edge */ 2494 else if ((py < wy + 3) || (py >= wy + screen_hgt - 3)) 2495 2495 { 2496 2496 wy = py - panel_hgt; … … 2505 2505 } 2506 2506 2507 /* Scroll screen horizontally when 1/4 screen_widgrids from left/right edge */2508 else if ((px < wx + screen_wid / 4) || (px >= wx + (3 * screen_wid) / 4))2507 /* Scroll screen horizontally when 3 grids from left/right edge */ 2508 else if ((px < wx + 3) || (px >= wx + screen_wid - 3)) 2509 2509 { 2510 2510 wx = px - panel_wid;
