aboutsummaryrefslogtreecommitdiff
path: root/src/ui/helper/ClickDetector.cpp
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-08-18 18:38:10 +0800
committerYuqian Yang <crupest@crupest.life>2025-08-18 18:38:10 +0800
commitb53780b2106b0f233c48e27653336b8a629ca486 (patch)
treee5e2659eb23852012804e9ba8a290a8e19d8230f /src/ui/helper/ClickDetector.cpp
parentd3568fb844c7b9ea59783b04899dbd94ad972b91 (diff)
downloadcru-b53780b2106b0f233c48e27653336b8a629ca486.tar.gz
cru-b53780b2106b0f233c48e27653336b8a629ca486.tar.bz2
cru-b53780b2106b0f233c48e27653336b8a629ca486.zip
Rename CRU_LOG_* to CRU_LOG_TAG_*.
Diffstat (limited to 'src/ui/helper/ClickDetector.cpp')
-rw-r--r--src/ui/helper/ClickDetector.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/helper/ClickDetector.cpp b/src/ui/helper/ClickDetector.cpp
index de39f14e..b7e800a8 100644
--- a/src/ui/helper/ClickDetector.cpp
+++ b/src/ui/helper/ClickDetector.cpp
@@ -58,7 +58,7 @@ ClickDetector::ClickDetector(controls::Control* control) {
this->state_ == ClickState::Hover) {
if (!this->control_->CaptureMouse()) {
if constexpr (debug_flags::click_detector) {
- CRU_LOG_DEBUG(u"Failed to capture mouse when begin click.");
+ CRU_LOG_TAG_DEBUG(u"Failed to capture mouse when begin click.");
}
return;
}
@@ -137,7 +137,7 @@ void ClickDetector::SetState(ClickState state) {
UnreachableCode();
}
};
- CRU_LOG_DEBUG(u"Click state changed, new state: {}.", to_string(state));
+ CRU_LOG_TAG_DEBUG(u"Click state changed, new state: {}.", to_string(state));
}
state_ = state;