Színkorrekciók
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
function getLayerName(pseudoElement) {
|
||||
const match = pseudoElement.match(/::view-transition-(old|new|group|image-pair)\((.*?)\)/);
|
||||
if (!match)
|
||||
return null;
|
||||
return { layer: match[2], type: match[1] };
|
||||
}
|
||||
|
||||
export { getLayerName };
|
||||
Reference in New Issue
Block a user