Made Keyframes in GuiObjectManager draggable

This commit is contained in:
CrushedPixel
2015-07-15 12:24:38 +02:00
parent 62073d6351
commit 1aa2c8e02b

View File

@@ -639,6 +639,9 @@ public class GuiObjectManager extends GuiScreen {
if(dragging) {
int time = (int) getTimeAt(mouseX, mouseY);
if(time != -1) {
if(selectedKeyframe != null) {
selectedKeyframe.setRealTimestamp(time);
}
cursorPosition = time;
updateValuesForTransformation(getTransformations().getTransformationForTimestamp(cursorPosition));
}