Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile-Cn-Ko-En
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
fallenstardust
YGOMobile-Cn-Ko-En
Commits
629f8b54
Commit
629f8b54
authored
Apr 21, 2020
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix drag lstLog
parent
e0f6e8b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Classes/gframe/event_handler.cpp
Classes/gframe/event_handler.cpp
+2
-3
mobile/assets/changelog.html
mobile/assets/changelog.html
+1
-1
No files found.
Classes/gframe/event_handler.cpp
View file @
629f8b54
...
...
@@ -2050,13 +2050,12 @@ bool ClientField::OnCommonEvent(const irr::SEvent& event) {
break
;
}
rect
<
s32
>
lstLogpos
=
mainGame
->
lstLog
->
getRelativePosition
();
int
pos
=
dragging_tab_start_pos
+
((
dragging_tab_start_y
-
event
.
MouseInput
.
Y
)
/
mainGame
->
lstLog
->
getItemCount
())
*
10
*
mainGame
->
yScale
;
int
pos
=
dragging_tab_start_pos
+
((
dragging_tab_start_y
-
event
.
MouseInput
.
Y
));
int
max
=
mainGame
->
lstLog
->
getVerticalScrollBar
()
->
getMax
();
if
(
pos
<
0
)
pos
=
0
;
if
(
pos
>
max
)
pos
=
max
;
mainGame
->
lstLog
->
getVerticalScrollBar
()
->
setPos
(
pos
);
mainGame
->
lstLog
->
setRelativePosition
(
recti
(
10
*
mainGame
->
xScale
,
10
*
mainGame
->
yScale
+
mainGame
->
lstLog
->
getVerticalScrollBar
()
->
getPos
()
*
-
1
,
lstLogpos
.
LowerRightCorner
.
X
,
lstLogpos
.
LowerRightCorner
.
Y
));
mainGame
->
lstLog
->
getItemAt
(
lstLogpos
.
UpperLeftCorner
.
X
,
mainGame
->
lstLog
->
getVerticalScrollBar
()
->
getPos
(
));
}
if
(
is_dragging_tabHelper
)
{
if
(
!
mainGame
->
scrTabHelper
->
isVisible
())
{
...
...
mobile/assets/changelog.html
View file @
629f8b54
...
...
@@ -23,7 +23,7 @@
1.更新ygo内核;
2.默认大师规则2020;
3.新卡1101+VJ;
4.左侧
效果文本
支持手指上下翻页;
4.左侧
卡片信息
支持手指上下翻页;
新增:
1.搜索结果增加卡片收藏夹列表;
2.卡片详情可增加/移出搜藏;
...
...
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