アナログ時計ウィジェットを移植 (#5944)

* アナログ時計ウィジェットを移植

* analog-clock -> clock
This commit is contained in:
fuyu 2020-02-14 23:31:24 +09:00 committed by GitHub
parent 439563c5d6
commit a2ce072ae7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 188 additions and 1 deletions

View file

@ -293,7 +293,7 @@ export default Vue.extend({
const ro = new ResizeObserver((entries, observer) => {
adjustTitlePosition();
});
ro.observe(this.$refs.contents);
window.addEventListener('resize', adjustTitlePosition);
@ -556,6 +556,7 @@ export default Vue.extend({
'calendar',
'rss',
'trends',
'clock'
];
this.$root.menu({