File tree Expand file tree Collapse file tree
src/main/java/mchorse/aperture/client/gui/panels/modifiers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ private void toggleEnvelopes()
122122 }
123123
124124 this .parent .resize ();
125+ this .envelopes .wasToggled ();
125126 }
126127
127128 private void updateEnable ()
Original file line number Diff line number Diff line change 11package mchorse .aperture .client .gui .panels .modifiers .widgets ;
22
3- import mchorse .aperture .camera .fixtures .AbstractFixture ;
43import mchorse .aperture .camera .smooth .Envelope ;
54import mchorse .aperture .client .gui .panels .modifiers .GuiAbstractModifierPanel ;
65import mchorse .aperture .client .gui .utils .GuiCameraEditorKeyframesGraphEditor ;
@@ -162,6 +161,11 @@ public void initiate()
162161 this .channel .graph .resetView ();
163162 }
164163
164+ public void wasToggled ()
165+ {
166+ this .channel .graph .resetView ();
167+ }
168+
165169 public void fillData ()
166170 {
167171 Envelope envelope = this .get ();
You can’t perform that action at this time.
0 commit comments