-
Notifications
You must be signed in to change notification settings - Fork 739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Markers - Add timestamps #7947
Markers - Add timestamps #7947
Conversation
Should instead be an option under direction, rather than tucked in the corner |
Co-authored-by: Brett <brett@bmandesigns.com>
Co-authored-by: Brett <brett@bmandesigns.com>
I figured that considering it ties into the description, it should be close to it. I also wanted to keep the vertical space down. |
Vertical space is less of a concern than UX, maybe it could go under description then rather than at the bottom to keep it closer to related fields (Description) |
Freddo3000#1 I tested an idea I had that uses a special asci char (that just looks like a space) to indicate that a timecode follows.
fnc_onButtonClickConfirm:30
This means when you edit a marker it will automatically update the timecode instead of appending it. |
Credits to @PabstMirror
I could see it being useful to have a history sometimes Maybe a second button to add instead of replace? |
At that point you might as well place a new marker, imo. |
yah maybe... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
}; | ||
|
||
_description ctrlSetText format [ // Add timestamp suffix | ||
"%1%2[%2%3]", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't seem right?
description, space, space, time
you give 4 parameter but only use 3, and the space seems wrong
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah looks like I made a typo, should probably be "%1%2[%3%4]"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, am-pm is completely broken in this pull request. Even if this part was repaired, am-pm will not be shown for 12 and 24-hours, and even if that part is repaired, it will show the wrong one.
Should all be fixed here: https://github.com/acemod/ACE3/pull/8034/files#diff-4b395ce5b5e0cc52ea30d46cdc2cb9d5fea1eb22d6ca4cfe885b60ef68b1e45eR48
When merged this pull request will:
Credit to @milaq for https://github.com/milaq/arma3_timemarkers from which this was inspired.