Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
YGOPRO-520DIY
ygopro
Commits
04ada03e
Commit
04ada03e
authored
Sep 06, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
59e6d1da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
25 deletions
+7
-25
premake/irrlicht/irrlicht.patch
premake/irrlicht/irrlicht.patch
+7
-25
No files found.
premake/irrlicht/irrlicht.patch
View file @
04ada03e
...
@@ -329,30 +329,12 @@ index 3f633da..c0712df 100644
...
@@ -329,30 +329,12 @@ index 3f633da..c0712df 100644
diff --git a/irrlicht/src/CGUIListBox.old.cpp b/irrlicht/src/CGUIListBox.cpp
diff --git a/irrlicht/src/CGUIListBox.old.cpp b/irrlicht/src/CGUIListBox.cpp
--- a/irrlicht/src/CGUIListBox.old.cpp 2017-09-05 04:20:28.619271300 +0800
--- a/irrlicht/src/CGUIListBox.old.cpp 2017-09-05 04:20:28.619271300 +0800
+++ b/irrlicht/src/CGUIListBox.cpp 2017-09-05 04:11:37.367885500 +0800
+++ b/irrlicht/src/CGUIListBox.cpp 2017-09-05 04:11:37.367885500 +0800
@@ -411,6 +411,10 @@
@@ -425,7 +425,7 @@
case EMIE_LMOUSE_PRESSED_DOWN:
{
Selecting = true;
+
+ if(isPointInside(p))
+ selectNew(event.MouseInput.Y);
+
return true;
}
}
@@ -455,9 +459,12 @@
case EMIE_MOUSE_MOVED:
u32 now = os::Timer::getTime();
- if (Selecting || MoveOverSelect)
s32 oldSelected = Selected;
+ if (MoveOverSelect)
{
- Selected = getItemAt(AbsoluteRect.UpperLeftCorner.X, ypos);
if (isPointInside(p))
- if (Selected<0 && !Items.empty())
{
- Selected = 0;
+ if (!onlyHover)
+ {
+ Selected = getItemAt(AbsoluteRect.UpperLeftCorner.X, ypos);
+ if(Selected<0 && !Items.empty())
+ Selected = 0;
+ }
recalculateScrollPos();
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment