keep flags when responding to value message
this bug introduced "interesting" effect in audio preview in the editor - editor was trying to put previous incorrect playback position in the previewing sound which caused stuttering at the end of playback
@@ -178,11 +178,12 @@ impl Control for ScrollBar {
));
}
- let response = ScrollBarMessage::value(
+ let mut response = ScrollBarMessage::value(
self.handle,
MessageDirection::FromWidget,
self.value,
);
+ response.flags = message.flags;
response.set_handled(message.handled());
ui.send_message(response);
}
