Tweaks and fixes
This commit is contained in:
@@ -525,11 +525,11 @@ namespace FlaxEditor.GUI.Timeline
|
||||
private void EndMoving()
|
||||
{
|
||||
_isMoving = false;
|
||||
_startMoveLeftEdge = false;
|
||||
_startMoveRightEdge = false;
|
||||
|
||||
if (_startMoveLeftEdge || _startMoveRightEdge)
|
||||
{
|
||||
_startMoveLeftEdge = false;
|
||||
_startMoveRightEdge = false;
|
||||
|
||||
// Re-assign the media start/duration inside the undo recording block
|
||||
if (_startMoveStartFrame != _startFrame || _startMoveDuration != _durationFrames)
|
||||
{
|
||||
|
||||
@@ -476,11 +476,6 @@ void ManagedEditor::OnEditorAssemblyLoaded(MAssembly* assembly)
|
||||
CreateManaged();
|
||||
}
|
||||
|
||||
String ManagedEditor::ToString() const
|
||||
{
|
||||
return TEXT("ManagedEditor");
|
||||
}
|
||||
|
||||
void ManagedEditor::DestroyManaged()
|
||||
{
|
||||
// Ensure to cleanup managed stuff
|
||||
|
||||
@@ -145,6 +145,5 @@ private:
|
||||
public:
|
||||
|
||||
// [PersistentScriptingObject]
|
||||
String ToString() const override;
|
||||
void DestroyManaged() override;
|
||||
};
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace FlaxEditor.Viewport.Previews
|
||||
// Playback Speed
|
||||
{
|
||||
var playbackSpeed = ViewWidgetButtonMenu.AddButton("Playback Speed");
|
||||
var playbackSpeedValue = new FloatValueBox(-1, 90, 2, 70.0f, 0.0f, 10000.0f, 0.001f)
|
||||
var playbackSpeedValue = new FloatValueBox(-1, 90, 2, 70.0f, -10000.0f, 10000.0f, 0.001f)
|
||||
{
|
||||
Parent = playbackSpeed
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user