Mercurial > dwindows
changeset 1944:d37f30a7c233
Mac: In an earlier commit I moved code regarding NSScroller arrow positions into YOSEMITE #ifdef due to the arrows not being available since 10.7.
This also means that the line move notifications will no longer be generated and not needed, so moving those into YOSEMITE as well.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 22 Jun 2019 20:40:01 +0000 |
parents | 469711814566 |
children | 7af41bfd5190 |
files | mac/dw.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mac/dw.m Sat Jun 22 20:11:52 2019 +0000 +++ b/mac/dw.m Sat Jun 22 20:40:01 2019 +0000 @@ -1691,7 +1691,7 @@ switch ([sender hitPart]) { - +#ifndef BUILDING_FOR_YOSEMITE case NSScrollerDecrementLine: if(newpos > 0) { @@ -1705,7 +1705,7 @@ newpos++; } break; - +#endif case NSScrollerDecrementPage: newpos -= visible; if(newpos < 0)