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
Binary file modified .yarn/install-state.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion elmapp.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
homepage: "https://mather.github.io/simple-stopwatch"
homepage: "https://github.com/mather/sync-timer"
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "simple-stopwatch",
"name": "sync-timer",
"version": "1.0.0",
"description": "シンプルなストップウォッチです。",
"description": "マイナスからスタートできるシンプルなストップウォッチです。",
"author": "Eisuke Kuwahata",
"private": true,
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion src/I18n.elm
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ labelJa =
, forward = "1秒進める"
, minusSign = "マイナス"
, displaySetting = "表示設定"
, showHour = "1時間以上の動画を見る"
, showHour = "「時」を表示する"
, showProgress = "カウントダウンを視覚的に表現する"
, fgColor = "文字色"
, fgColorRgb = "文字色(RGB)"
Expand Down
4 changes: 2 additions & 2 deletions src/View.elm
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ viewTimerDigits millis setting =
millisToDisplayTime millis

displaySegments =
if setting.showHour || displayTime.hours > 0 then
if setting.showHour then
[ displayTime.hours, displayTime.minutes, displayTime.seconds ]

else
[ displayTime.minutes, displayTime.seconds ]
[ displayTime.hours * 60 + displayTime.minutes, displayTime.seconds ]
in
div [ class "timer", fontClass setting.fgFont, timerBgColorClass setting.bgColor, style "color" setting.fgColor ]
[ div [ class "digits" ] <|
Expand Down
36 changes: 18 additions & 18 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1924,24 +1924,6 @@ __metadata:
languageName: node
linkType: hard

"simple-stopwatch@workspace:.":
version: 0.0.0-use.local
resolution: "simple-stopwatch@workspace:."
dependencies:
"@fortawesome/fontawesome-free": "npm:^6.7.2"
"@picocss/pico": "npm:2.0.6"
"@types/node": "npm:22.13.10"
elm-format: "npm:^0.8.7"
elm-hot: "npm:^1.1.6"
elm-test: "npm:0.19.1-revision15"
node-elm-compiler: "npm:^5.0.6"
sass: "npm:^1.85.1"
vite: "npm:6.2.2"
vite-plugin-elm: "npm:3.0.1"
vite-plugin-sitemap: "npm:0.7.1"
languageName: unknown
linkType: soft

"smart-buffer@npm:^4.2.0":
version: 4.2.0
resolution: "smart-buffer@npm:4.2.0"
Expand Down Expand Up @@ -2051,6 +2033,24 @@ __metadata:
languageName: node
linkType: hard

"sync-timer@workspace:.":
version: 0.0.0-use.local
resolution: "sync-timer@workspace:."
dependencies:
"@fortawesome/fontawesome-free": "npm:^6.7.2"
"@picocss/pico": "npm:2.0.6"
"@types/node": "npm:22.13.10"
elm-format: "npm:^0.8.7"
elm-hot: "npm:^1.1.6"
elm-test: "npm:0.19.1-revision15"
node-elm-compiler: "npm:^5.0.6"
sass: "npm:^1.85.1"
vite: "npm:6.2.2"
vite-plugin-elm: "npm:3.0.1"
vite-plugin-sitemap: "npm:0.7.1"
languageName: unknown
linkType: soft

"tar@npm:^7.4.3":
version: 7.4.3
resolution: "tar@npm:7.4.3"
Expand Down