Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

## [v1.0.2] - 2022.11.29

### Fixed

- 萬用遙控器小車拖拉過後,翻轉畫面小車位置偏移

## [v1.0.1] - 2022.11.15

### Fixed

- 使用手機開啟萬用遙控器輸入文字會刷新畫面,導致無法正常完成操作

## [v1.0.0] 2022.11.1
## [v1.0.0] - 2022.11.1

### Fixed

Expand All @@ -39,6 +45,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- 拿掉 webduinojs 的部份
- 獨立的 mqttClient.js

[unreleased]: https://github.com/webduinoio/webduino-remote/compare/v1.0.1...HEAD
[unreleased]: https://github.com/webduinoio/webduino-remote/compare/v1.0.2...HEAD
[v1.0.2]: https://github.com/webduinoio/webduino-remote/releases/tag/v1.0.2
[v1.0.1]: https://github.com/webduinoio/webduino-remote/releases/tag/v1.0.1
[v1.0.0]: https://github.com/webduinoio/webduino-remote/releases/tag/v1.0.0
11 changes: 8 additions & 3 deletions index-en.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
/>
</svg>
</div>
<footer >
<footer>
<div id="monsterBlock">
<div id="svgGreen" class="monster-btn">
<svg viewBox="0 0 249.6 251.4">
Expand Down Expand Up @@ -421,7 +421,12 @@
rx="4.8"
ry="4.8"
/>
<circle style="fill: #ffffff" cx="129.5" cy="65.1" r="1.1" />
<circle
style="fill: #ffffff"
cx="129.5"
cy="65.1"
r="1.1"
/>
</g>
</g>
</svg>
Expand Down Expand Up @@ -716,7 +721,7 @@
type="text"
class="input-group-input"
id="customMessage"
placeholder="輸入文字"
placeholder="Input text"
/>
<button class="input-group-button">Send</button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -870,4 +870,4 @@ <h4>儲存成功</h4>
gtag("config", "UA-2708968-11");
</script>
</body>
</html>
</html>
5 changes: 4 additions & 1 deletion js/main-en.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,9 @@
}

// 處理中間圖片跟隨視窗大小移動位置
window.addEventListener('resize', imgPosition);
window.addEventListener('resize', () => {
kebbi.classList.remove('reset');
imgPosition();
});

}();
7 changes: 5 additions & 2 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
});
saveBtn.addEventListener('click', async function () {
let t = new Date();
list.time = `${t.getFullYear()}/${t.getMonth()*1+1}/${t.getDate()} ${t.getHours()}:${t.getMinutes()}:${t.getSeconds()}`;
list.time = `${t.getFullYear()}/${t.getMonth() * 1 + 1}/${t.getDate()} ${t.getHours()}:${t.getMinutes()}:${t.getSeconds()}`;
let write = await database.ref('/').push(list);
popup.classList.add('show');
let url = `${urlOrigin}${urlPath}#${write.key}`;
Expand Down Expand Up @@ -380,6 +380,9 @@
}

// 處理中間圖片跟隨視窗大小移動位置
window.addEventListener('resize', imgPosition);
window.addEventListener('resize', () => {
kebbi.classList.remove('reset');
imgPosition();
});

}();