UI: More consistency for T/N sidebars. Logic Editor Properties are on the right now as well, and File Browser Bookmark sidebar uses "T" key, as its on the right.

This commit is contained in:
Thomas Dinges 2014-01-12 01:00:16 +01:00
parent dc9fff74cc
commit 74216cfdce
Notes: blender-bot 2023-04-14 09:18:04 +02:00
Referenced by issue #38169, Background Color of Vertical Tabs changes with "region text"
Referenced by issue #38170, replaceMesh() / LibNew() crashing game engine
2 changed files with 3 additions and 3 deletions

View File

@ -403,7 +403,7 @@ static void file_keymap(struct wmKeyConfig *keyconf)
wmKeyMapItem *kmi;
/* keys for all areas */
wmKeyMap *keymap = WM_keymap_find(keyconf, "File Browser", SPACE_FILE, 0);
WM_keymap_add_item(keymap, "FILE_OT_bookmark_toggle", NKEY, KM_PRESS, 0, 0);
WM_keymap_add_item(keymap, "FILE_OT_bookmark_toggle", TKEY, KM_PRESS, 0, 0);
WM_keymap_add_item(keymap, "FILE_OT_parent", PKEY, KM_PRESS, 0, 0);
WM_keymap_add_item(keymap, "FILE_OT_bookmark_add", BKEY, KM_PRESS, KM_CTRL, 0);
WM_keymap_add_item(keymap, "FILE_OT_hidedot", HKEY, KM_PRESS, 0, 0);

View File

@ -75,7 +75,7 @@ ARegion *logic_has_buttons_region(ScrArea *sa)
BLI_insertlinkafter(&sa->regionbase, ar, arnew);
arnew->regiontype = RGN_TYPE_UI;
arnew->alignment = RGN_ALIGN_LEFT;
arnew->alignment = RGN_ALIGN_RIGHT;
arnew->flag = RGN_FLAG_HIDDEN;
@ -112,7 +112,7 @@ static SpaceLink *logic_new(const bContext *C)
BLI_addtail(&slogic->regionbase, ar);
ar->regiontype= RGN_TYPE_UI;
ar->alignment= RGN_ALIGN_LEFT;
ar->alignment= RGN_ALIGN_RIGHT;
/* main area */
ar= MEM_callocN(sizeof(ARegion), "main area for logic");