Skip to content

Commit

Permalink
Fix logic error
Browse files Browse the repository at this point in the history
  • Loading branch information
shp7724 committed Dec 27, 2023
1 parent dbd4332 commit a002348
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ struct TimetablePainter {
return nil
}

if timePlace.startTimeDouble > Double(getEndingHour(current: current, config: config)) {
if timePlace.startTimeDouble >= Double(getEndingHour(current: current, config: config)) + 1 {
return nil
}

Expand Down

0 comments on commit a002348

Please sign in to comment.