BROWSER_LOGD("[%s:%d] %f", __PRETTY_FUNCTION__, __LINE__, offset);
Edje_Message_Int message;
message.val = static_cast<int>(offset);
- if (message.val % 2 == 0)
- edje_object_message_send(elm_layout_edje_get(m_mainLayout), EDJE_MESSAGE_INT, 0, &message);
+ edje_object_message_send(elm_layout_edje_get(m_mainLayout), EDJE_MESSAGE_INT, 0, &message);
}
void WebPageUI::bottombarOffsetSet(const float& offset)
Edje_Message_Int message;
message.val = static_cast<int>(offset);
auto edje = elm_layout_edje_get(m_mainLayout);
- if (message.val % 2 == 0) {
- edje_object_message_send(edje, EDJE_MESSAGE_INT, 1, &message);
- edje_object_message_signal_process(edje);
- }
+ edje_object_message_send(edje, EDJE_MESSAGE_INT, 1, &message);
+ edje_object_message_signal_process(edje);
}
bool WebPageUI::isBrighterThanDefault(const int& r, const int& g, const int& b)