-
Notifications
You must be signed in to change notification settings - Fork 142
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
Implemented banners and banner patterns #588
Conversation
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.
thing is gives more info, dk though, feel free to decline
# Conflicts: # server/item/register.go
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.
Got two comments. Should be easily resolved.
server/item/banner_pattern.go
Outdated
type BannerPattern struct { | ||
// Pattern represents the type of banner pattern. These types do not include all patterns that can be applied to a | ||
// banner. | ||
Pattern BannerPatternType |
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.
Would name this field Type
probably.
server/block/banner_pattern_layer.go
Outdated
|
||
// BannerPatternLayer is a wrapper over BannerPatternType with a colour property. | ||
type BannerPatternLayer struct { | ||
BannerPatternType |
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.
Would probably not embed BannerPatternType
in here, but have a Type
name.
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 looks alright to me. Thanks for the PR!
No description provided.