git.ithinksw.org
/
MenuTunes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c99066b
)
Individual song rating setting by hotkey actually works now. I'm an idiot.
author
Kent Sutherland
<ksuther@ithinksw.com>
Fri, 2 Jul 2004 05:40:17 +0000
(
05:40
+0000)
committer
Kent Sutherland
<ksuther@ithinksw.com>
Fri, 2 Jul 2004 05:40:17 +0000
(
05:40
+0000)
MainController.m
patch
|
blob
|
history
diff --git
a/MainController.m
b/MainController.m
index
7c60fb0
..
73a8146
100755
(executable)
--- a/
MainController.m
+++ b/
MainController.m
@@
-1099,9
+1099,9
@@
static MainController *sharedController;
- (void)setRating:(ITHotKey *)sender
{
- (void)setRating:(ITHotKey *)sender
{
-
float rating = ([[sender name] characterAtIndex:9] - 48) / 5.0
;
- [self selectSongRating:
rating
];
- [statusWindowController showRatingWindowWithRating:
rating
];
+
int stars = [[sender name] characterAtIndex:9] - 48
;
+ [self selectSongRating:
stars * 20
];
+ [statusWindowController showRatingWindowWithRating:
(float)stars / 5.0
];
}
- (void)toggleLoop
}
- (void)toggleLoop