Misc
This commit is contained in:
@@ -526,6 +526,12 @@ void Update(Event event) {
|
|||||||
{
|
{
|
||||||
ProfileScope(WindowEndOfFrameVisibilityAndLastActive);
|
ProfileScope(WindowEndOfFrameVisibilityAndLastActive);
|
||||||
For (Windows) {
|
For (Windows) {
|
||||||
|
if (it->goto_history.len > ConfigJumpHistorySize) {
|
||||||
|
RemoveByIndex(&it->goto_history, 0);
|
||||||
|
}
|
||||||
|
if (it->goto_redo.len > ConfigJumpHistorySize) {
|
||||||
|
RemoveByIndex(&it->goto_redo, 0);
|
||||||
|
}
|
||||||
if (it->sync_visibility_with_focus) {
|
if (it->sync_visibility_with_focus) {
|
||||||
if (it->id == ActiveWindowID) {
|
if (it->id == ActiveWindowID) {
|
||||||
it->visible = true;
|
it->visible = true;
|
||||||
@@ -541,15 +547,6 @@ void Update(Event event) {
|
|||||||
LastActiveLayoutWindowID = ActiveWindowID;
|
LastActiveLayoutWindowID = ActiveWindowID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
For (Windows) {
|
|
||||||
if (it->goto_history.len > ConfigJumpHistorySize) {
|
|
||||||
RemoveByIndex(&it->goto_history, 0);
|
|
||||||
}
|
|
||||||
if (it->goto_redo.len > ConfigJumpHistorySize) {
|
|
||||||
RemoveByIndex(&it->goto_redo, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user