Gems/ScriptCanvas

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-20 18:01:54 -07:00
parent 2f5a39176d
commit 323d642e65
37 changed files with 16 additions and 101 deletions
@@ -155,7 +155,6 @@ namespace ScriptCanvasDeveloper
m_startPosition = QCursor::pos();
}
QPointF currentPosition = QCursor::pos();
QPointF targetPoint = m_targetPosition;
float percentage = aznumeric_cast<float>(m_tickCount)/aznumeric_cast<float>(m_tickDuration);
@@ -170,6 +169,7 @@ namespace ScriptCanvasDeveloper
#if defined(AZ_COMPILER_MSVC)
INPUT osInput = { 0 };
QPointF currentPosition = QCursor::pos();
osInput.type = INPUT_MOUSE;
osInput.mi.mouseData = 0;
@@ -275,7 +275,6 @@ namespace ScriptCanvasDeveloper
}
QRegion region = m_graphPalette->visibleRegion();
QRect boundingRegion = region.boundingRect();
m_indexIsVisible = region.contains(m_graphPalette->visualRect(m_displayIndex).center());
}
@@ -187,7 +187,6 @@ namespace ScriptCanvasDeveloper
DeleteVariableRowFromPaletteState::DeleteVariableRowFromPaletteState(int row)
: NamedAutomationState("DeleteVariableRowFromPaletteState")
, m_row(row)
, m_clickAction(Qt::MouseButton::LeftButton)
, m_deleteAction(VK_DELETE)
{