mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Remove unused values from MessageLayoutContainer (#4081)
This commit is contained in:
parent
53ec66ff8e
commit
e6e9b98f66
2 changed files with 4 additions and 4 deletions
|
@ -38,6 +38,8 @@ CheckOptions:
|
||||||
value: camelBack
|
value: camelBack
|
||||||
- key: readability-identifier-naming.MemberCase
|
- key: readability-identifier-naming.MemberCase
|
||||||
value: camelBack
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.PrivateMemberIgnoredRegexp
|
||||||
|
value: .*
|
||||||
- key: readability-identifier-naming.PrivateMemberSuffix
|
- key: readability-identifier-naming.PrivateMemberSuffix
|
||||||
value: _
|
value: _
|
||||||
- key: readability-identifier-naming.UnionCase
|
- key: readability-identifier-naming.UnionCase
|
||||||
|
|
|
@ -45,10 +45,6 @@ struct Margin {
|
||||||
struct MessageLayoutContainer {
|
struct MessageLayoutContainer {
|
||||||
MessageLayoutContainer() = default;
|
MessageLayoutContainer() = default;
|
||||||
|
|
||||||
Margin margin = {4, 8, 4, 8};
|
|
||||||
bool centered = false;
|
|
||||||
bool enableCompactEmotes = false;
|
|
||||||
|
|
||||||
int getHeight() const;
|
int getHeight() const;
|
||||||
int getWidth() const;
|
int getWidth() const;
|
||||||
float getScale() const;
|
float getScale() const;
|
||||||
|
@ -93,6 +89,8 @@ private:
|
||||||
void _addElement(MessageLayoutElement *element, bool forceAdd = false);
|
void _addElement(MessageLayoutElement *element, bool forceAdd = false);
|
||||||
bool canCollapse();
|
bool canCollapse();
|
||||||
|
|
||||||
|
const Margin margin = {4, 8, 4, 8};
|
||||||
|
|
||||||
// variables
|
// variables
|
||||||
float scale_ = 1.f;
|
float scale_ = 1.f;
|
||||||
int width_ = 0;
|
int width_ = 0;
|
||||||
|
|
Loading…
Reference in a new issue