Clean up font management
Default to b.userName instead of message->account() Made font updatable in the Settings dialog with a font dialog More work on subscription badge loading Known issues: - Font isn't updated in a split until a new message is written in that split - When font/font size is changed, old messages don't have their size updated causing weird layout of old messages
This commit is contained in:
+5
-6
@@ -12,6 +12,9 @@ class WindowManager;
|
||||
|
||||
class Resources
|
||||
{
|
||||
EmoteManager &emoteManager;
|
||||
WindowManager &windowManager;
|
||||
|
||||
public:
|
||||
explicit Resources(EmoteManager &emoteManager, WindowManager &windowManager);
|
||||
|
||||
@@ -60,13 +63,9 @@ public:
|
||||
messages::LazyLoadedImage *buttonTimeout;
|
||||
|
||||
struct Channel {
|
||||
std::string id;
|
||||
std::map<std::string, BadgeSet> badgeSets;
|
||||
|
||||
std::mutex globalMapMutex;
|
||||
|
||||
void loadData();
|
||||
|
||||
// std::atomic<bool> loaded = false;
|
||||
bool loaded = false;
|
||||
};
|
||||
|
||||
// channelId
|
||||
|
||||
Reference in New Issue
Block a user