This website works better with JavaScript.
首頁
探索
說明
登入
hardcorenarrativist
/
3d-die-roller
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
Fix resetting and initial die quantity
master
Esteban Manchado Velázquez
2 年之前
父節點
dbe9c30643
當前提交
7a48c15f57
共有
2 個文件被更改
,包括
3 次插入
和
2 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
dice/index.html
+2
-1
dice/main.js
+ 1
- 1
dice/index.html
查看文件
@@ -37,7 +37,7 @@
</div>
</div>
<div class="center_field">
<input type="text" id="set" value="
4d6
"></input><br/>
<input type="text" id="set" value=""></input><br/>
<button id="clear">clear</button>
<button style="margin-left: 0.6em" id="throw">throw</button>
</div>
+ 2
- 1
dice/main.js
查看文件
@@ -26,7 +26,8 @@ function diceInitialize(container, w, h) {
$t.bind($t.id('clear'), ['mouseup', 'touchend', 'touchcancel'], function(ev) {
ev.stopPropagation();
set.value = '0';
set.dataset.fullDieProps = "";
set.value = '';
onSetChange();
});
Write
Preview
Loading…
取消
儲存