fix: 修正分辨率
This commit is contained in:
@@ -34,7 +34,7 @@ window.addEventListener('DOMContentLoaded', () => {
|
||||
// 分辨率选项配置
|
||||
const RESOLUTIONS = {
|
||||
'160x80': { showWidth: 320, showHeight: 240, lcdX: 160, lcdY: 80 },
|
||||
'350x172': { showWidth: 320, showHeight: 240, lcdX: 350, lcdY: 172 },
|
||||
'320x172': { showWidth: 320, showHeight: 240, lcdX: 320, lcdY: 172 },
|
||||
'320x240': { showWidth: 320, showHeight: 240, lcdX: 320, lcdY: 240 }
|
||||
};
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<label for="resolution">分辨率:</label>
|
||||
<select id="resolution">
|
||||
<option value="160x80" selected>160x80</option>
|
||||
<option value="350x172">350x172</option>
|
||||
<option value="320x172">320x172</option>
|
||||
<option value="320x240">320x240</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user