mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	Apply system animation scale to parts of Tachiyomi that don't respect it by default (#5794)
* Add initial code for scaling animations, apply scale to reader nav overlay * Rename extension function, apply system animator scale to ActionToolbar * Apply system animator scale to expanding manga cover animation * Apply system animator scale to image crossfade (also disables animated covers when browsing) * Add documentation, make MotionScene Transition comment a bit more clear * Disable animated covers in MangaInfoHeaderAdapter if animator duration scale is 0 * Disable animated covers in Library if animator duration scale is 0 * Convert loadAny listener to extension function
This commit is contained in:
		| @@ -5,6 +5,7 @@ | ||||
|     <Transition | ||||
|         motion:constraintSetEnd="@+id/end" | ||||
|         motion:constraintSetStart="@id/start" | ||||
|         android:id="@+id/manga_info_header_transition" | ||||
|         motion:duration="@android:integer/config_mediumAnimTime"> | ||||
|         <KeyFrameSet></KeyFrameSet> | ||||
|         <OnClick motion:targetId="@+id/manga_cover" /> | ||||
|   | ||||
| @@ -5,6 +5,7 @@ | ||||
|     <Transition | ||||
|         motion:constraintSetEnd="@+id/end" | ||||
|         motion:constraintSetStart="@id/start" | ||||
|         android:id="@+id/manga_summary_section_transition" | ||||
|         motion:duration="1"> | ||||
|         <KeyFrameSet></KeyFrameSet> | ||||
|         <OnClick motion:clickAction="toggle" /> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user