The CSS classes need to be reset before adding new ones, otherwise the item's colors will be quite random.
Fix inconsistent grid item colors #6
item-color-fix into main Is there a reason to use else instead of return?
These should probably be done in unbind(). bind() should only run again after unbind() has been run.
By the way, HypItem was mostly written when I was still using FlowBox instead of GridView so without the possibility of reusing items. I plan to rewrite the whole thing paying attention to what properties might change between uses.
I think it's just simpler and cleaner in cases like this, simply because of the semantics, e.g. "if something then do this else do that", and not "if something then do this and return, but otherwise there's more code further down". But that's it.
Ah, right. Didn't notice there was a method for this :)
I just like to avoid indentation as much as possible, I think it makes the code easier to read, so I prefer this syntax at places like this.
Hmm, ok. That also makes sense.
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?