Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
Desktop Client
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
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
SeeBeyond
Desktop Client
Commits
c55e99ea
Commit
c55e99ea
authored
Jul 30, 2020
by
SpinShare
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code clarity
parent
fbba4a32
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/components/Overlays/PlayOverlay.vue
src/components/Overlays/PlayOverlay.vue
+4
-4
No files found.
src/components/Overlays/PlayOverlay.vue
View file @
c55e99ea
...
@@ -43,22 +43,22 @@
...
@@ -43,22 +43,22 @@
'
hasXDDifficulty
'
'
hasXDDifficulty
'
],
],
mounted
:
function
()
{
mounted
:
function
()
{
var
difficultyObject
=
[
let
difficultyObject
=
[
{
difficulty
:
0
,
value
:
this
.
$props
.
hasEasyDifficulty
},
{
difficulty
:
0
,
value
:
this
.
$props
.
hasEasyDifficulty
},
{
difficulty
:
1
,
value
:
this
.
$props
.
hasNormalDifficulty
},
{
difficulty
:
1
,
value
:
this
.
$props
.
hasNormalDifficulty
},
{
difficulty
:
2
,
value
:
this
.
$props
.
hasHardDifficulty
},
{
difficulty
:
2
,
value
:
this
.
$props
.
hasHardDifficulty
},
{
difficulty
:
3
,
value
:
this
.
$props
.
hasExpertDifficulty
},
{
difficulty
:
3
,
value
:
this
.
$props
.
hasExpertDifficulty
},
{
difficulty
:
4
,
value
:
this
.
$props
.
hasXDDifficulty
}
{
difficulty
:
4
,
value
:
this
.
$props
.
hasXDDifficulty
}
]
]
var
trueCount
=
0
;
let
trueCount
=
0
;
var
singleDiff
=
{};
let
singleDiff
=
{};
difficultyObject
.
forEach
(
e
=>
{
difficultyObject
.
forEach
(
e
=>
{
if
(
e
[
'
value
'
]
==
true
)
{
if
(
e
[
'
value
'
]
==
true
)
{
trueCount
++
trueCount
++
singleDiff
==
e
singleDiff
==
e
}
}
});
});
if
(
trueCount
==
1
)
{
this
.
play
(
singleDiff
.
difficulty
)}
if
(
trueCount
==
1
)
this
.
play
(
singleDiff
.
difficulty
);
ipcRenderer
.
on
(
"
overlays-close
"
,
()
=>
{
ipcRenderer
.
on
(
"
overlays-close
"
,
()
=>
{
this
.
close
();
this
.
close
();
...
...
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