Files
troyeguo 2c05dc8a47 Refactor background and viewer components to use props for scale and margin
- Updated Background component to receive scale and margin from props instead of state.
- Implemented UNSAFE_componentWillReceiveProps in Background and Viewer components to handle prop changes for scale, margin, and reader mode.
- Modified mapStateToProps in relevant components to include scale and margin from the Redux store.
- Adjusted SliderList component to handle scale and margin changes without reloading books.
- Updated ThemeList and NavigationPanel components to use backgroundColor from props.
- Enhanced reader settings to manage background color, scale, and margin through Redux actions.
- Refactored related interfaces and actions to accommodate new props and state management.
2025-10-14 18:17:43 +08:00
..
2021-07-17 16:54:58 +08:00
2023-08-26 22:19:10 +08:00
2020-03-05 10:19:56 +08:00