summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangpyo Kim <sangpyo7.kim@samsung.com>2012-09-08 16:46:08 +0900
committerSangpyo Kim <sangpyo7.kim@samsung.com>2012-09-08 16:47:24 +0900
commit571da7b7f99fcfdb6dddea7c854cf1e169db920c (patch)
tree8fa5781b5e31c46c293c563b65cd4c526f3626dc
parent115b6a36a4c616a5225991b596ac640fa9d3be47 (diff)
downloadorg.tizen.browser-571da7b7f99fcfdb6dddea7c854cf1e169db920c.tar.gz
org.tizen.browser-571da7b7f99fcfdb6dddea7c854cf1e169db920c.tar.bz2
org.tizen.browser-571da7b7f99fcfdb6dddea7c854cf1e169db920c.zip
[Title] removing scale checking code due to vanishing zoom button issue
[Issue#] N/A [Problem] zoom buttons are vanished [Cause] browser hide the zoom buttons when the page reaches max/min scale [Solution] removing scale checking code due to vanishing zoom button issue [Team] Browser UI [Developer] sangpyo7.kim [Request] N/A Change-Id: I8c0868426fd6716ca99f4d8e6c55085b201a8b4e
-rw-r--r--src/browser-view/browser-view.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/browser-view/browser-view.cpp b/src/browser-view/browser-view.cpp
index 7f3189e..3b934a5 100644
--- a/src/browser-view/browser-view.cpp
+++ b/src/browser-view/browser-view.cpp
@@ -1310,12 +1310,10 @@ void Browser_View::__ewk_view_mouse_down_cb(void* data, Evas* evas, Evas_Object*
ewk_view_scale_range_get(browser_view->m_focused_window->m_ewk_view,
&min_scale, &max_scale);
- if (scale_factor > min_scale && scale_factor < max_scale) {
- if (browser_view->m_zoom_button_timer)
- ecore_timer_del(browser_view->m_zoom_button_timer);
- browser_view->m_zoom_button_timer = ecore_timer_add(3, __zoom_button_timeout_cb, browser_view);
- edje_object_signal_emit(elm_layout_edje_get(browser_view->m_main_layout), "show,zoom_buttons,signal", "");
- }
+ if (browser_view->m_zoom_button_timer)
+ ecore_timer_del(browser_view->m_zoom_button_timer);
+ browser_view->m_zoom_button_timer = ecore_timer_add(3, __zoom_button_timeout_cb, browser_view);
+ edje_object_signal_emit(elm_layout_edje_get(browser_view->m_main_layout), "show,zoom_buttons,signal", "");
#endif
}