Skip to content

Commit

Permalink
機能説明用の画像です.
Browse files Browse the repository at this point in the history
  • Loading branch information
fourthline committed Nov 24, 2013
1 parent d6adbd8 commit 79e1866
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file added doc/mml_time1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/mml_time2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/fourthline/mabiicco/ui/MMLSeqView.java
Original file line number Diff line number Diff line change
Expand Up @@ -503,9 +503,9 @@ private void updateTimeView() {
double totalTime = MMLTempoEvent.getTimeOnTickOffset(tempoList, totalTick);
int tempo = MMLTempoEvent.searchOnTick(tempoList, (int)position);

String str = String.format("time %d:%02d/%d:%02d (t%d)",
(int)(time/60), (int)(time%60),
(int)(totalTime/60), (int)(totalTime%60),
String str = String.format("time %d:%04.1f/%d:%04.1f (t%d)",
(int)(time/60), (time%60),
(int)(totalTime/60), (totalTime%60),
tempo);
if (timeView != null) {
timeView.setText(str);
Expand Down

0 comments on commit 79e1866

Please sign in to comment.