fix: Copy paste errors
This commit is contained in:
parent
a1482cb40e
commit
ff2b58e8a3
@ -587,7 +587,7 @@ namespace hex::plugin::builtin {
|
|||||||
|
|
||||||
m_hexEditor.setHoverChangedCallback([this](u64 address, size_t size) {
|
m_hexEditor.setHoverChangedCallback([this](u64 address, size_t size) {
|
||||||
if (!showHighlights)
|
if (!showHighlights)
|
||||||
return std::nullopt;
|
return;
|
||||||
|
|
||||||
m_hoverHighlights->clear();
|
m_hoverHighlights->clear();
|
||||||
|
|
||||||
@ -602,8 +602,8 @@ namespace hex::plugin::builtin {
|
|||||||
|
|
||||||
m_hexEditor.setTooltipCallback([](u64 address, const u8 *data, size_t size) {
|
m_hexEditor.setTooltipCallback([](u64 address, const u8 *data, size_t size) {
|
||||||
if (!showHighlights)
|
if (!showHighlights)
|
||||||
return std::nullopt;
|
return;
|
||||||
|
|
||||||
for (const auto &[id, callback] : ImHexApi::HexEditor::impl::getTooltipFunctions()) {
|
for (const auto &[id, callback] : ImHexApi::HexEditor::impl::getTooltipFunctions()) {
|
||||||
callback(address, data, size);
|
callback(address, data, size);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user