From 25f9086ca7a5005c497ae4447bce9144ecccac76 Mon Sep 17 00:00:00 2001 From: Yannick Galatol Date: Wed, 11 Mar 2020 22:03:51 +0100 Subject: [PATCH 1/2] fix(orientation): use tablet landscape screen type --- src/lib/core/breakpoints/data/orientation-break-points.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/core/breakpoints/data/orientation-break-points.ts b/src/lib/core/breakpoints/data/orientation-break-points.ts index 8916e9ddb..c35d7d2fb 100644 --- a/src/lib/core/breakpoints/data/orientation-break-points.ts +++ b/src/lib/core/breakpoints/data/orientation-break-points.ts @@ -41,7 +41,7 @@ export const ORIENTATION_BREAKPOINTS : BreakPoint[] = [ {'alias': 'handset.portrait', priority: 2000, 'mediaQuery': ScreenTypes.HANDSET_PORTRAIT}, {'alias': 'tablet', priority: 2100, 'mediaQuery': ScreenTypes.TABLET}, - {'alias': 'tablet.landscape', priority: 2100, 'mediaQuery': ScreenTypes.TABLET}, + {'alias': 'tablet.landscape', priority: 2100, 'mediaQuery': ScreenTypes.TABLET_LANDSCAPE}, {'alias': 'tablet.portrait', priority: 2100, 'mediaQuery': ScreenTypes.TABLET_PORTRAIT}, {'alias': 'web', priority: 2200, 'mediaQuery': ScreenTypes.WEB, overlapping : true }, From 68ef5bd8865fda23a751ac42adf7268c68ee1e21 Mon Sep 17 00:00:00 2001 From: Yannick Galatol Date: Wed, 11 Mar 2020 22:36:50 +0100 Subject: [PATCH 2/2] fix(orientation): remove trailing bracket Handset landscape screen type declaration should not contain a trailing bracket --- src/lib/core/breakpoints/data/orientation-break-points.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/core/breakpoints/data/orientation-break-points.ts b/src/lib/core/breakpoints/data/orientation-break-points.ts index c35d7d2fb..5e2f8c413 100644 --- a/src/lib/core/breakpoints/data/orientation-break-points.ts +++ b/src/lib/core/breakpoints/data/orientation-break-points.ts @@ -27,7 +27,7 @@ export const ScreenTypes = { 'TABLET_PORTRAIT' : `${TABLET_PORTRAIT} `, 'WEB_PORTRAIT' : `${WEB_PORTRAIT}`, - 'HANDSET_LANDSCAPE' : `${HANDSET_LANDSCAPE}]`, + 'HANDSET_LANDSCAPE' : `${HANDSET_LANDSCAPE}`, 'TABLET_LANDSCAPE' : `${TABLET_LANDSCAPE}`, 'WEB_LANDSCAPE' : `${WEB_LANDSCAPE}` };