mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-18 02:21:51 +08:00
a77d89bb1a
fix bug edgeless can't slider with finger <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added mobile immersive edgeless mode with dynamic chrome auto-hide and tap-gesture controls. * Added a mobile zoom ruler UI for edgeless. * **Bug Fixes** * Improved iOS rendering/zoom by applying low-zoom survival behavior, gesture-aware refresh deferral, and effective-DPR canvas scaling. * Fixed iOS webview zoom/bounce and process-termination reload behavior. * Improved placeholder styling with theme-aware colors. * **Chores** * Updated local ignore rules and iOS app build/version configuration. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: DarkSky <darksky2048@gmail.com>
11 lines
403 B
TypeScript
11 lines
403 B
TypeScript
import { type ColorScheme } from '@blocksuite/affine-model';
|
|
import { getAffinePlaceholderFillColor } from '@blocksuite/affine-shared/theme';
|
|
|
|
export function getSurfacePlaceholderFallback(colorScheme: ColorScheme) {
|
|
return getAffinePlaceholderFillColor(colorScheme);
|
|
}
|
|
|
|
export function resolveSurfacePlaceholderColor(colorScheme: ColorScheme) {
|
|
return getSurfacePlaceholderFallback(colorScheme);
|
|
}
|