mirror of
https://github.com/potato47/ccc-devtools.git
synced 2025-10-13 02:25:51 +00:00
update
This commit is contained in:
File diff suppressed because one or more lines are too long
1
release/preview-template/dist/assets/index.741f95c0.css
vendored
Normal file
1
release/preview-template/dist/assets/index.741f95c0.css
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
release/preview-template/dist/index.html
vendored
4
release/preview-template/dist/index.html
vendored
@@ -1,4 +1,4 @@
|
||||
<script type="module" crossorigin src="/dist/assets/index.17ee060a.js"></script>
|
||||
<link rel="stylesheet" href="/dist/assets/index.9940da1d.css">
|
||||
<script type="module" crossorigin src="/dist/assets/index.4dc42c8f.js"></script>
|
||||
<link rel="stylesheet" href="/dist/assets/index.741f95c0.css">
|
||||
<div id="dev-app" style="width: 400px;height: 100%;display: flex;flex-direction: column;justify-content: center;"></div>
|
||||
|
||||
|
@@ -58,16 +58,6 @@
|
||||
toggle(isOpen);
|
||||
}, false);
|
||||
|
||||
// profilerBtn.addEventListener('click', () => {
|
||||
// if (profilerBtn.classList.contains('checked')) {
|
||||
// profilerBtn.classList.remove('checked');
|
||||
// window.dispatchEvent(new CustomEvent('showProfiler', { detail: { show: false } }));
|
||||
// } else {
|
||||
// profilerBtn.classList.add('checked');
|
||||
// window.dispatchEvent(new CustomEvent('showProfiler', { detail: { show: true } }));
|
||||
// }
|
||||
// }, false);
|
||||
|
||||
function toggle(isOpen) {
|
||||
const devApp = document.getElementById('dev-app');
|
||||
window.ccdevShow = isOpen;
|
||||
|
@@ -1,35 +0,0 @@
|
||||
<div class="toolbar disabled">
|
||||
<div class="item"><button id="btn-show-devtools">CCDevtools</button></div>
|
||||
<div class="item">
|
||||
<select id="opts-device" value="<%=config.device%>">
|
||||
<% Object.keys(devices).forEach((key) => {%>
|
||||
<option value="<%=key%>"><%=devices[key].name%>(<%=devices[key].width%> X <%=devices[key].height%>)</option>
|
||||
<% }) %>
|
||||
</select>
|
||||
</div>
|
||||
<div class="item"><button id="btn-rotate" class="<%=config.rotate ? 'checked' : ''%>">Rotate</button></div>
|
||||
<span style="font-size: small;" class="item">Debug Mode:</span>
|
||||
<div class="item">
|
||||
<select id="opts-debug-mode" value="<%=config.debugMode%>">
|
||||
<option value="NONE">None</option>
|
||||
<option value="VERBOSE">Verbose</option>
|
||||
<option value="INFO">Info</option>
|
||||
<option value="WARN">Warn</option>
|
||||
<option value="ERROR">Error</option>
|
||||
<option value="INFO_FOR_WEB_PAGE">Info For Web Page</option>
|
||||
<option value="WARN_FOR_WEB_PAGE">Warn For Web Page</option>
|
||||
<option value="ERROR_FOR_WEB_PAGE">Error For Web Page</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="item"><button id="btn-show-fps" class="<%=config.showFps ? 'checked' : ''%>">Show FPS</button></div>
|
||||
<div class="item">
|
||||
<span style="font-size: small;" class="item">FPS:</span><input id="input-set-fps" type="number" value="<%=config.fps%>" />
|
||||
</div>
|
||||
<div style="margin-right: 0;" class="item"><button id="btn-pause">Pause</button><button id="btn-step">Step</button></div>
|
||||
<div class="item"><button id="btn-step" style="display: none;">Step</button></div>
|
||||
<div id="step-length">
|
||||
<span>Step Length: </span>
|
||||
<input type="text" value="1">
|
||||
<span>ms</span>
|
||||
</div>
|
||||
</div>
|
@@ -1 +1 @@
|
||||
{"name":"ccc-devtools","version":"2022/7/17","author":"Next","repo":"https://github.com/potato47/ccc-devtools.git"}
|
||||
{"name":"ccc-devtools","version":"2022/8/4","author":"Next","repo":"https://github.com/potato47/ccc-devtools.git"}
|
Reference in New Issue
Block a user