From 74216cfdcea325a700ba0322d5a953a21896e37f Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Sun, 12 Jan 2014 01:00:16 +0100 Subject: 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. --- source/blender/editors/space_file/space_file.c | 2 +- source/blender/editors/space_logic/space_logic.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c index 170e9336fea..4c4b9fc79f0 100644 --- a/source/blender/editors/space_file/space_file.c +++ b/source/blender/editors/space_file/space_file.c @@ -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); diff --git a/source/blender/editors/space_logic/space_logic.c b/source/blender/editors/space_logic/space_logic.c index 4682bbc59ff..9fa1916b972 100644 --- a/source/blender/editors/space_logic/space_logic.c +++ b/source/blender/editors/space_logic/space_logic.c @@ -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"); -- cgit v1.2.3