Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
T
Taiko Web
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
nanahira
Taiko Web
Commits
73e7d384
Commit
73e7d384
authored
Oct 27, 2018
by
LoveEevee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove measures before first one, fix debug mouse events
parent
4a3675a9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
17 deletions
+3
-17
public/src/js/parsetja.js
public/src/js/parsetja.js
+0
-14
public/src/js/songselect.js
public/src/js/songselect.js
+3
-3
No files found.
public/src/js/parsetja.js
View file @
73e7d384
...
...
@@ -125,7 +125,6 @@
var
branchPreference
=
"
m
"
var
currentMeasure
=
[]
var
firstMeasure
=
true
var
firstNote
=
true
var
circles
=
[]
var
circleID
=
0
...
...
@@ -143,19 +142,6 @@
originalMS
:
ms
,
speed
:
speed
})
if
(
firstMeasure
){
firstMeasure
=
false
var
msPerMeasure
=
60000
*
measure
/
bpm
for
(
var
measureMs
=
ms
-
msPerMeasure
;
measureMs
>
0
;
measureMs
-=
msPerMeasure
){
this
.
measures
.
push
({
ms
:
measureMs
,
originalMS
:
ms
,
speed
:
speed
})
}
}
}
else
{
firstMeasure
=
false
}
if
(
currentMeasure
.
length
){
for
(
var
i
=
0
;
i
<
currentMeasure
.
length
;
i
++
){
...
...
public/src/js/songselect.js
View file @
73e7d384
...
...
@@ -243,8 +243,8 @@ class SongSelect{
this
.
startP2
()
pageEvents
.
keyAdd
(
this
,
"
all
"
,
"
down
"
,
this
.
keyDown
.
bind
(
this
))
pageEvents
.
add
(
window
,
"
mousemove
"
,
this
.
mouseMove
.
bind
(
this
))
pageEvents
.
add
(
window
,
[
"
mousedown
"
,
"
touchstart
"
],
this
.
mouseDown
.
bind
(
this
))
pageEvents
.
add
(
loader
.
screen
,
"
mousemove
"
,
this
.
mouseMove
.
bind
(
this
))
pageEvents
.
add
(
loader
.
screen
,
[
"
mousedown
"
,
"
touchstart
"
],
this
.
mouseDown
.
bind
(
this
))
if
(
touchEnabled
&&
fullScreenSupported
){
this
.
touchFullBtn
=
document
.
getElementById
(
"
touch-full-btn
"
)
this
.
touchFullBtn
.
style
.
display
=
"
block
"
...
...
@@ -1459,7 +1459,7 @@ class SongSelect{
this
.
redrawRunning
=
false
this
.
endPreview
()
pageEvents
.
keyRemove
(
this
,
"
all
"
)
pageEvents
.
remove
(
window
,
[
"
mousemove
"
,
"
mousedown
"
,
"
touchstart
"
])
pageEvents
.
remove
(
loader
.
screen
,
[
"
mousemove
"
,
"
mousedown
"
,
"
touchstart
"
])
if
(
this
.
touchEnabled
&&
fullScreenSupported
){
pageEvents
.
remove
(
this
.
touchFullBtn
,
"
click
"
)
delete
this
.
touchFullBtn
...
...
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