Skip to content

Commit 97a81c2

Browse files
Merge pull request livecode#2056 from macMikey/patch-2
Update clock.lcb
2 parents f9e67a6 + a5c73dd commit 97a81c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/widgets/clock/clock.lcb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public handler OnPaint()
170170
put getPath("hour hand") into tHourHand
171171

172172
translate this canvas by [(my width)/2, (my height)/2]
173-
rotate this canvas by 30*(element 1 of mCurrentTime)
173+
rotate this canvas by 30*((element 1 of mCurrentTime) + (element 2 of mCurrentTime/60)) --mikey added fractional hour
174174
stroke tHourHand on this canvas
175175
restore state of this canvas
176176
--

0 commit comments

Comments
 (0)