mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-25 21:05:40 +08:00
Fix Navigator.NavigationBar Title interactivity
Reviewed By: hedgerwang Differential Revision: D2755832 fb-gh-sync-id: 22f937ba271703d49f54acf2e3cdbf1994fad878
This commit is contained in:
committed by
facebook-github-bot-5
parent
db69004300
commit
7377fb8baf
@@ -78,17 +78,17 @@ var Stages = {
|
||||
Left: {
|
||||
Title: merge(BASE_STYLES.Title, { left: -SCREEN_WIDTH / 2, opacity: 0 }),
|
||||
LeftButton: merge(BASE_STYLES.LeftButton, { left: -SCREEN_WIDTH / 3, opacity: 0 }),
|
||||
RightButton: merge(BASE_STYLES.RightButton, { left: SCREEN_WIDTH / 3, opacity: 0 }),
|
||||
RightButton: merge(BASE_STYLES.RightButton, { opacity: 0 }),
|
||||
},
|
||||
Center: {
|
||||
Title: merge(BASE_STYLES.Title, { left: 0, opacity: 1 }),
|
||||
LeftButton: merge(BASE_STYLES.LeftButton, { left: 0, opacity: 1 }),
|
||||
RightButton: merge(BASE_STYLES.RightButton, { left: 2 * SCREEN_WIDTH / 3 - 0, opacity: 1 }),
|
||||
RightButton: merge(BASE_STYLES.RightButton, { opacity: 1 }),
|
||||
},
|
||||
Right: {
|
||||
Title: merge(BASE_STYLES.Title, { left: SCREEN_WIDTH / 2, opacity: 0 }),
|
||||
LeftButton: merge(BASE_STYLES.LeftButton, { left: 0, opacity: 0 }),
|
||||
RightButton: merge(BASE_STYLES.RightButton, { left: SCREEN_WIDTH, opacity: 0 }),
|
||||
RightButton: merge(BASE_STYLES.RightButton, { opacity: 0 }),
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user