Improved custom event code and fixed some warnings

This commit is contained in:
Yousef Khadadeh 2026-04-11 16:36:24 +03:00
parent da1a1c26cb
commit b2fe1ab7ba
52 changed files with 193 additions and 240 deletions

View file

@ -495,7 +495,7 @@ void GUIManager::deselect_all() {
e->elem->deselect();
}
void GUIManager::input_paste_callback(const CustomEvents::PasteEventData& paste) {
void GUIManager::input_paste_callback(const CustomEvents::PasteEvent& paste) {
for(ElementContainer* e : orderedElements)
e->elem->input_paste_callback(paste);
}