Browse Source

Fixed wrong datatype for frame duration

hutattedonmyarm 12 years ago
parent
commit
8f395715a9
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      CubeControl/Frame.java

+ 1
- 1
CubeControl/Frame.java View File

@@ -644,7 +644,7 @@ public class Frame extends JFrame implements ListSelectionListener, ChangeListen
644 644
 						return;
645 645
 					}
646 646
 					durationSlider.setValue(Integer.parseInt(frameLengthText.getText()));
647
-					worker.getAnimation(animList.getSelectedIndex()).getFrame(frameList.getSelectedIndex()).setTime((byte)(Integer.parseInt(frameLengthText.getText())));
647
+					worker.getAnimation(animList.getSelectedIndex()).getFrame(frameList.getSelectedIndex()).setTime((short)(Integer.parseInt(frameLengthText.getText())));
648 648
 				}
649 649
 			}
650 650
 		});

Loading…
Cancel
Save