Skip to content

thumbnail border broken when deadbeat#749

Open
krugerk wants to merge 1 commit intobeeminder:masterfrom
krugerk:bugfix/broken-border-when-deadbeat
Open

thumbnail border broken when deadbeat#749
krugerk wants to merge 1 commit intobeeminder:masterfrom
krugerk:bugfix/broken-border-when-deadbeat

Conversation

@krugerk
Copy link
Contributor

@krugerk krugerk commented Mar 8, 2026

Summary

GoalImageView calculated and set the border once a non-placeholder thumbnail was set.
When isDeadbeat, the thumbnail was replaced by the placeholder and the border was not being addressed (neither cleared nor set anew).

border was being set when clearing the graph,
just on setting it (to a non-placeholder),
and that was not being called when deadbeat
@krugerk krugerk requested a review from a team as a code owner March 8, 2026 23:31
@krugerk krugerk requested review from theospears and removed request for a team March 8, 2026 23:31
@krugerk krugerk changed the title fix border being broken when deadbeat thumbnail border broken when deadbeat Mar 9, 2026
self?.imageView.layer.borderColor = nil
self?.imageView.layer.borderWidth = 0
}
self?.updateBorder()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not impressed about having to (remember to) call this at two places ... might refactor it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant