Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
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
syntax_j
mycard
Commits
68f05d7e
Commit
68f05d7e
authored
Aug 15, 2013
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1f048abb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lib/window_deck.rb
lib/window_deck.rb
+2
-1
No files found.
lib/window_deck.rb
View file @
68f05d7e
...
...
@@ -156,6 +156,7 @@ class Window_Deck < Window_Scrollable
end
end
end
card_usages
.
push
({
card_id:
last_id
,
side:
side
,
count:
count
})
if
last_id
result
=
""
key
=
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_="
card_usages
.
each
do
|
card_usage
|
...
...
@@ -164,7 +165,7 @@ class Window_Deck < Window_Scrollable
result
<<
key
[(
c
>>
i
*
6
)
&
0x3F
]
end
end
Dialog
.
web
"https://my-card.in/decks/new
#{
'.pdf'
if
index
[
1
]
==
:buy
}
?name=
#{
File
.
basename
(
@items
[
index
[
0
]],
".ydk"
)
}
&cards=
#{
result
}
#
share
"
Dialog
.
web
"https://my-card.in/decks/new
#{
'.pdf'
if
index
[
1
]
==
:buy
}
?name=
#{
File
.
basename
(
@items
[
index
[
0
]],
".ydk"
)
}
&cards=
#{
result
}#
{
'#share'
if
index
[
1
]
==
:share
}
"
when
:delete
require_relative
'widget_msgbox'
...
...
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