1
0
mirror of synced 2025-01-10 21:41:53 +01:00

fix: Copy paste errors

This commit is contained in:
WerWolv 2024-12-30 23:58:34 +01:00
parent a1482cb40e
commit ff2b58e8a3

View File

@ -587,7 +587,7 @@ namespace hex::plugin::builtin {
m_hexEditor.setHoverChangedCallback([this](u64 address, size_t size) {
if (!showHighlights)
return std::nullopt;
return;
m_hoverHighlights->clear();
@ -602,8 +602,8 @@ namespace hex::plugin::builtin {
m_hexEditor.setTooltipCallback([](u64 address, const u8 *data, size_t size) {
if (!showHighlights)
return std::nullopt;
return;
for (const auto &[id, callback] : ImHexApi::HexEditor::impl::getTooltipFunctions()) {
callback(address, data, size);
}