Nyx: emuMMC tab realign on reload, sd_out script, bootloader/sys doc
- gui_emummc_tools: re-apply container position after reload so content does not jump to top when returning from sub-windows (Change emuMMC, etc.) - Add sd_out.py: pack build output to output/hekate_X.Y.Z_Nyx_A.B.C.zip (payload.bin, bootloader/update.bin, bootloader/sys/*, no ini/patches) - Add nyx/BOOTLOADER_SYS_ORIGINS.md: where res.pak, thk.bin, emummc.kipm, l4t/ come from Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include <libs/lvgl/lv_objx/lv_list.h>
|
||||
#include <libs/lvgl/lv_objx/lv_mbox.h>
|
||||
#include <libs/lvgl/lv_objx/lv_slider.h>
|
||||
#include <libs/lvgl/lv_objx/lv_win.h>
|
||||
#include <memory_map.h>
|
||||
#include <module.h>
|
||||
#include <stdlib.h>
|
||||
@@ -2120,6 +2121,13 @@ lv_res_t create_tab_emummc_tools(lv_obj_t *parent)
|
||||
lv_obj_align(h1, parent, LV_ALIGN_IN_TOP_LEFT, 0, 0);
|
||||
lv_obj_align(h2, h1, LV_ALIGN_OUT_RIGHT_TOP, LV_DPI * 17 / 29, 0);
|
||||
|
||||
/* Re-apply container position after reload so it does not jump when returning from sub-windows */
|
||||
lv_obj_t *win = lv_obj_get_parent(parent);
|
||||
if (win) {
|
||||
lv_obj_t *content = lv_win_get_content(win);
|
||||
if (content)
|
||||
lv_obj_align(parent, content, LV_ALIGN_IN_TOP_MID, -20, 50);
|
||||
}
|
||||
|
||||
return LV_RES_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user