More fixes that are failing on Jenkins but not locally
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -307,9 +307,9 @@ namespace AzToolsFramework
|
||||
// Generate movement events based on the pixel delta divided by the DPI scaling factor, to calculate a rough approximation
|
||||
// of cursor movement velocity.
|
||||
movementXChannel->ProcessRawInputEvent(
|
||||
m_cursorPosition->m_normalizedPositionDelta.GetX() * aznumeric_cast<float>(m_sourceWidget->width()) / m_sourceWidget->devicePixelRatioF());
|
||||
static_cast<float>(m_cursorPosition->m_normalizedPositionDelta.GetX()) * aznumeric_cast<float>(m_sourceWidget->width()) / m_sourceWidget->devicePixelRatioF());
|
||||
movementYChannel->ProcessRawInputEvent(
|
||||
m_cursorPosition->m_normalizedPositionDelta.GetY() * aznumeric_cast<float>(m_sourceWidget->height()) / m_sourceWidget->devicePixelRatioF());
|
||||
static_cast<float>(m_cursorPosition->m_normalizedPositionDelta.GetY()) * aznumeric_cast<float>(m_sourceWidget->height()) / m_sourceWidget->devicePixelRatioF());
|
||||
mouseWheelChannel->ProcessRawInputEvent(0.f);
|
||||
|
||||
NotifyUpdateChannelIfNotIdle(systemCursorChannel, nullptr);
|
||||
|
||||
+1
-1
@@ -2180,7 +2180,7 @@ namespace AzToolsFramework
|
||||
QPainterPath path;
|
||||
|
||||
auto newRect = option.rect;
|
||||
newRect.setHeight(newRect.height() - 1.0);
|
||||
newRect.setHeight(newRect.height() - 1);
|
||||
path.addRect(newRect);
|
||||
|
||||
// Get the foreground color of the current object to draw our sub-object-selected box
|
||||
|
||||
Reference in New Issue
Block a user