fix: replace defines with constexpr/const and use more absolute paths for includes (#5527)
bye bye nuuls
This commit is contained in:
@@ -68,12 +68,10 @@
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
|
||||
#define SELECTION_RESUME_SCROLLING_MSG_THRESHOLD 3
|
||||
#define CHAT_HOVER_PAUSE_DURATION 1000
|
||||
#define TOOLTIP_EMOTE_ENTRIES_LIMIT 7
|
||||
|
||||
namespace {
|
||||
|
||||
constexpr size_t TOOLTIP_EMOTE_ENTRIES_LIMIT = 7;
|
||||
|
||||
using namespace chatterino;
|
||||
|
||||
constexpr int SCROLLBAR_PADDING = 8;
|
||||
|
||||
Reference in New Issue
Block a user