Преглед изворни кода

Fixed wrong datatype for frame duration

hutattedonmyarm пре 12 година
родитељ
комит
8f395715a9
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      CubeControl/Frame.java

+ 1
- 1
CubeControl/Frame.java Прегледај датотеку

@@ -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…
Откажи
Сачувај