Skip to content

Commit

Permalink
more PR feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <[email protected]>
  • Loading branch information
chapulina committed Oct 1, 2021
1 parent d03f333 commit bb14e9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/GuiEvents.cc
Original file line number Diff line number Diff line change
Expand Up @@ -120,19 +120,19 @@ class ignition::gui::events::DropOnScene::Implementation

class ignition::gui::events::ScrollOnScene::Implementation
{
/// \brief Mouse event
/// \brief Mouse event with scroll information.
public: common::MouseEvent mouse;
};

class ignition::gui::events::DragOnScene::Implementation
{
/// \brief The 2D point over which the user is hovering.
/// \brief Mouse event with drag information.
public: common::MouseEvent mouse;
};

class ignition::gui::events::MousePressOnScene::Implementation
{
/// \brief Mouse event
/// \brief Mouse event with press information.
public: common::MouseEvent mouse;
};

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/minimal_scene/MinimalScene.cc
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ void IgnRenderer::BroadcastKeyRelease()
/////////////////////////////////////////////////
void IgnRenderer::BroadcastKeyPress()
{
if (this->dataPtr->keyEvent.Type() == common::KeyEvent::PRESS)
if (this->dataPtr->keyEvent.Type() != common::KeyEvent::PRESS)
return;

events::KeyPressOnScene keyPress(this->dataPtr->keyEvent);
Expand Down

0 comments on commit bb14e9a

Please sign in to comment.