mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 20:18:22 +08:00
improve window manager simple
This commit is contained in:
parent
678e1c9b08
commit
6e11cf30d9
@ -2,8 +2,9 @@
|
||||
|
||||
* 2020/06/15
|
||||
* 完善toast (感谢培煌提供补丁)
|
||||
* 修复旋转后online\_fb的line\_length不正确的问(感谢智明提供补丁)。
|
||||
|
||||
* 修复旋转后online\_fb的line\_length不正确的问题(感谢智明提供补丁)。
|
||||
* 完善window manager simple(感谢智明提供补丁)。
|
||||
|
||||
* 2020/06/14
|
||||
* 完善 scroll view,增加滚动相关事件。
|
||||
* 增加文档《如何实现弹出菜单》
|
||||
|
@ -372,8 +372,8 @@ static ret_t window_manager_simple_on_event(widget_t* widget, event_t* e) {
|
||||
wh_t w = wm->lcd_w;
|
||||
wh_t h = wm->lcd_h;
|
||||
if (orientation == LCD_ORIENTATION_90 || orientation == LCD_ORIENTATION_270) {
|
||||
w = wm->lcd_w;
|
||||
h = wm->lcd_h;
|
||||
w = wm->lcd_h;
|
||||
h = wm->lcd_w;
|
||||
}
|
||||
|
||||
lcd_resize(lcd, w, h, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user