-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scrolling through Dashboard in both directions (press shift for left) c…
…lose #23
- Loading branch information
1 parent
1143efe
commit 9a5230f
Showing
8 changed files
with
31 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 6 additions & 3 deletions
9
packages/WindowAcrobatics-Core.package/WADashboard.class/instance/keyDown..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
as yet unclassified | ||
keyDown: anEvent. | ||
|
||
|
||
anEvent keyValue = 56 ifTrue: [ | ||
self scrollingDirection: #left. | ||
]. | ||
anEvent keyValue = 13 ifTrue: [ | ||
self selectNextWindow. | ||
] | ||
self scroll. | ||
]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
packages/WindowAcrobatics-Core.package/WADashboard.class/instance/scroll.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
as yet unclassified | ||
scroll | ||
|
||
self scrollingDirection = #right ifTrue: [self selectNextWindow]. | ||
self scrollingDirection = #left ifTrue: [self selectPreviousWindow]. |
3 changes: 3 additions & 0 deletions
3
packages/WindowAcrobatics-Core.package/WADashboard.class/instance/scrollingDirection..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
scrollingDirection: anObject | ||
scrollingDirection := anObject |
3 changes: 3 additions & 0 deletions
3
packages/WindowAcrobatics-Core.package/WADashboard.class/instance/scrollingDirection.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
scrollingDirection | ||
^ scrollingDirection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters