Pārlūkot izejas kodu

Fixed wrong datatype for frame duration

hutattedonmyarm 13 gadus atpakaļ
vecāks
revīzija
8f395715a9
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      CubeControl/Frame.java

+ 1
- 1
CubeControl/Frame.java Parādīt failu

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
 		});

Notiek ielāde…
Atcelt
Saglabāt