ui: More fixes for release
* Fixed graph resizing invoked during animation * Clearin history when clearing UndoRedoController * Fixed no hatching in single code view file button
This commit is contained in:
@@ -29,6 +29,7 @@ void UndoRedoController::clear()
|
||||
|
||||
m_history.clear();
|
||||
m_historyOffset = 0;
|
||||
updateHistory();
|
||||
|
||||
getView()->setUndoButtonEnabled(false);
|
||||
getView()->setRedoButtonEnabled(false);
|
||||
|
||||
@@ -71,7 +71,7 @@ void QtCodeFileTitleButton::setIsComplete(bool isComplete)
|
||||
);
|
||||
|
||||
setStyleSheet((
|
||||
"#title_label { background-image: url(" + hatchingFilePath.str() + "); }"
|
||||
"#title_label, #file_title { background-image: url(" + hatchingFilePath.str() + "); }"
|
||||
).c_str());
|
||||
}
|
||||
else
|
||||
|
||||
@@ -340,6 +340,11 @@ void QtGraphView::scrolled(int)
|
||||
|
||||
void QtGraphView::resized()
|
||||
{
|
||||
if (m_transition && m_transition->currentTime() < m_transition->totalDuration())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
doResize();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user