Sfoglia il codice sorgente

Fixed wrong datatype for frame duration

hutattedonmyarm 13 anni fa
parent
commit
8f395715a9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      CubeControl/Frame.java

+ 1
- 1
CubeControl/Frame.java Vedi File

644
 						return;
644
 						return;
645
 					}
645
 					}
646
 					durationSlider.setValue(Integer.parseInt(frameLengthText.getText()));
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…
Annulla
Salva