Skip to content

Commit

Permalink
Merge pull request #11534 from moweiss/release-v0.16.x
Browse files Browse the repository at this point in the history
Changed KResponsiveWindow to useKResponsivewindow in Slidehow Viewer …
  • Loading branch information
LianaHarris360 authored Dec 15, 2023
2 parents b60beed + 28b14b3 commit 3bdc090
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,4 @@ If you have contributed to Kolibri, feel free to add your name and Github accoun
| Vikramaditya Singh | Ghat0tkach |
| Kris Katkus | katkuskris |
| Garvit Singhal | GarvitSinghal47 |
| Mazen Oweiss | moweiss |
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
import client from 'kolibri.client';
import responsiveElementMixin from 'kolibri.coreVue.mixins.responsiveElementMixin';
import responsiveWindowMixin from 'kolibri.coreVue.mixins.responsiveWindowMixin';
import useKResponsiveWindow from 'kolibri-design-system/lib/useKResponsiveWindow';
import UiIconButton from 'kolibri-design-system/lib/keen/UiIconButton';
import CoreFullscreen from 'kolibri.coreVue.components.CoreFullscreen';
Expand All @@ -102,7 +102,14 @@
HooperPagination,
HooperNavigation,
},
mixins: [responsiveElementMixin, responsiveWindowMixin],
mixins: [responsiveElementMixin],
setup() {
const { windowIsLarge, windowIsSmall } = useKResponsiveWindow();
return {
windowIsLarge,
windowIsSmall,
};
},
data: () => ({
isInFullscreen: false,
slides: [],
Expand Down

0 comments on commit 3bdc090

Please sign in to comment.