Bug #1493: Modified task deadline mark position to show it just after the deadline date
FEA: ItEr76S04BugFixing
This commit is contained in:
parent
26ea85a1ed
commit
201bb6e363
1 changed files with 2 additions and 1 deletions
|
|
@ -476,9 +476,10 @@ public class TaskComponent extends Div implements AfterCompose {
|
|||
}
|
||||
|
||||
private void updateDeadline() {
|
||||
// Task mark is placed after midnight date of the deadline day
|
||||
if (task.getDeadline() != null) {
|
||||
String position = (getMapper().toPixels(
|
||||
LocalDate.fromDateFields(task.getDeadline())) - HALF_DEADLINE_MARK)
|
||||
LocalDate.fromDateFields(task.getDeadline()).plusDays(1)) - HALF_DEADLINE_MARK)
|
||||
+ "px";
|
||||
response(null, new AuInvoke(this, "moveDeadline", position));
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue