File tree Expand file tree Collapse file tree 4 files changed +10
-6
lines changed
Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ export default function Settings({
8282 </ div >
8383 { false && (
8484 < div className = "wp-settings-item" >
85- < h3 > Default Download Path</ h3 >
85+ < h3 > Download Path</ h3 >
8686 < div className = "wp-settings-item-content" />
8787 </ div >
8888 ) }
Original file line number Diff line number Diff line change @@ -158,6 +158,7 @@ export default function WallpaperViewModal({ data }: { data: IWallpaperData }) {
158158 return (
159159 < div role = "none" className = "wp-view" onClick = { onAttemptClickOut } >
160160 < BsChevronCompactLeft
161+ data-interact = "true"
161162 className = {
162163 currentIndex !== undefined && currentIndex > 0
163164 ? 'next-item-left'
@@ -168,13 +169,14 @@ export default function WallpaperViewModal({ data }: { data: IWallpaperData }) {
168169 < div className = "wp-view-container" >
169170 < div className = "wp-view-panel-top" >
170171 < VscInfo
172+ data-interact = "true"
171173 onClick = { ( ) => {
172174 setShouldShowInformation ( true ) ;
173175 } }
174176 />
175177 < span >
176178 < h2 > { `${ currentWallpaper . width } x${ currentWallpaper . height } ` } </ h2 >
177- < IoResizeOutline />
179+ < IoResizeOutline data-interact = "false" />
178180 </ span >
179181 </ div >
180182 < img
@@ -185,13 +187,15 @@ export default function WallpaperViewModal({ data }: { data: IWallpaperData }) {
185187 />
186188 < div className = "wp-view-panel-bottom" >
187189 < CgClose
190+ data-interact = "true"
188191 onClick = { ( ) => {
189192 document . removeEventListener ( 'keypress' , handleKeyPress ) ;
190193 dispatch ( setCurrentWallpaper ( null ) ) ;
191194 } }
192195 />
193- < BsDownload onClick = { downloadWallpaper } />
196+ < BsDownload data-interact = "true" onClick = { downloadWallpaper } />
194197 < BsArrowsFullscreen
198+ data-interact = "true"
195199 onClick = { ( ) => {
196200 setIsFullscreen ( true ) ;
197201 addNotification ( 'Double Click To Exit' ) ;
Original file line number Diff line number Diff line change 407407 transition : all 0.2s ease-in-out;
408408}
409409
410- .wp-view-panel-bottom svg : hover ,
411- .wp-view-panel-top svg : hover {
410+ .wp-view-panel-bottom svg : hover[ data-interact = 'true' ] ,
411+ .wp-view-panel-top svg : hover[ data-interact = 'true' ] {
412412 margin : 0px ;
413413 font-size : 50px ;
414414 color : var (--icon-color-hover );
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ const fetchWallpapers = createAsyncThunk(
7979 } ) => {
8080 const fetchResult = await getWallpapers ( page , maxItems , query ) ;
8181
82- return { ...fetchResult , page, query } ;
82+ return { ...fetchResult , page, query, maxItems } ;
8383 }
8484) ;
8585
You can’t perform that action at this time.
0 commit comments