Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile
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
Commits
26fe4f43
Commit
26fe4f43
authored
Apr 21, 2020
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改为点击效果文字时消除黑块和消息
parent
05faa6b8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
15 deletions
+13
-15
Classes/gframe/deck_con.cpp
Classes/gframe/deck_con.cpp
+0
-10
Classes/gframe/event_handler.cpp
Classes/gframe/event_handler.cpp
+9
-2
mobile/assets/changelog.html
mobile/assets/changelog.html
+4
-3
No files found.
Classes/gframe/deck_con.cpp
View file @
26fe4f43
...
...
@@ -1080,16 +1080,6 @@ bool DeckBuilder::OnEvent(const irr::SEvent& event) {
break
;
}
case
irr
:
:
EMIE_LMOUSE_LEFT_UP
:
{
s32
x
=
event
.
MouseInput
.
X
;
s32
y
=
event
.
MouseInput
.
Y
;
irr
::
core
::
position2di
pos
(
x
,
y
);
if
(
x
<
(
200
*
mainGame
->
xScale
)
&&
y
<
(
270
*
mainGame
->
yScale
))
{
mainGame
->
gMutex
.
lock
();
mainGame
->
textFont
->
setTransparency
(
true
);
mainGame
->
ClearChatMsg
();
mainGame
->
gMutex
.
unlock
();
break
;
}
//touch the pic of detail to refresh textfonts
is_starting_dragging
=
false
;
if
(
!
is_draging
)
break
;
...
...
Classes/gframe/event_handler.cpp
View file @
26fe4f43
...
...
@@ -1974,10 +1974,10 @@ bool ClientField::OnCommonEvent(const irr::SEvent& event) {
break
;
}
case
irr
:
:
EET_MOUSE_INPUT_EVENT
:
{
IGUIElement
*
root
=
mainGame
->
env
->
getRootGUIElement
();
position2di
mousepos
=
position2di
(
event
.
MouseInput
.
X
,
event
.
MouseInput
.
Y
);
switch
(
event
.
MouseInput
.
Event
)
{
case
irr
:
:
EMIE_LMOUSE_PRESSED_DOWN
:
{
IGUIElement
*
root
=
mainGame
->
env
->
getRootGUIElement
();
position2di
mousepos
=
position2di
(
event
.
MouseInput
.
X
,
event
.
MouseInput
.
Y
);
if
(
root
->
getElementFromPoint
(
mousepos
)
==
mainGame
->
stText
)
{
if
(
!
mainGame
->
scrCardText
->
isVisible
())
{
break
;
...
...
@@ -2008,6 +2008,13 @@ bool ClientField::OnCommonEvent(const irr::SEvent& event) {
break
;
}
case
irr
:
:
EMIE_LMOUSE_LEFT_UP
:
{
if
(
root
->
getElementFromPoint
(
mousepos
)
==
mainGame
->
stText
)
{
mainGame
->
gMutex
.
lock
();
mainGame
->
textFont
->
setTransparency
(
true
);
mainGame
->
ClearChatMsg
();
mainGame
->
gMutex
.
unlock
();
break
;
}
//touch the pic of detail to refresh textfonts
is_dragging_cardtext
=
false
;
is_dragging_tabHelper
=
false
;
is_dragging_tabSystem
=
false
;
...
...
mobile/assets/changelog.html
View file @
26fe4f43
...
...
@@ -51,10 +51,11 @@
</pre>
<h3
style=
"color:#ff0000"
>
注意
</h3>
<pre>
①:文字出现黑块可以点击左侧卡图去除;
②:背景音乐播放流畅性视手机性能强度而定
①:卸载本软件将删除包含卡组在内的重要文件,卸载前请慎重;
②:文字出现黑块可以点击左侧效果文字去除;
③:背景音乐播放流畅性视手机性能强度而定
如果使用过程中感觉卡顿,掉帧,或者不习惯,是可以辅助功能里关闭的;
③
:出现点击不准,不灵敏的情况
④
:出现点击不准,不灵敏的情况
·选择功能菜单>设置>开启沉浸式画面
目前手头缺少多种机型,适配坑深难以一步到位
还请海涵。
...
...
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