fix(toc): fixed issues of scroll to active items in unpinned sidebar, closes #2213 (#2216)

This commit is contained in:
Huang Xin
2025-10-13 21:29:51 +08:00
committed by GitHub
parent f1c92e5702
commit ad9064fa46
2 changed files with 12 additions and 8 deletions
@@ -357,11 +357,6 @@ const ColorPanel: React.FC<SettingsPanelPanelProp> = ({ bookKey, onRegisterReset
minHeight: '80px',
}}
>
{texture.path && (
<div className='absolute inset-0 flex items-center justify-center rounded-lg bg-black bg-opacity-40'>
<span className='text-sm font-medium text-white'>{_(texture.name)}</span>
</div>
)}
{selectedTextureId === texture.id && (
<MdRadioButtonChecked
size={iconSize24}