mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
extend resolutions (#1036)
* extend resolutions - Simplifies logic - Adds more options including 540p, 1440p, and resolutions common to VR such as 1920p - Supports vertical/portrait videos and images * implement new resolution filters
This commit is contained in:
@@ -102,10 +102,13 @@ export const SceneCard: React.FC<ISceneCardProps> = (
|
||||
function maybeRenderSceneSpecsOverlay() {
|
||||
return (
|
||||
<div className="scene-specs-overlay">
|
||||
{props.scene.file.height ? (
|
||||
{props.scene.file.width && props.scene.file.height ? (
|
||||
<span className="overlay-resolution">
|
||||
{" "}
|
||||
{TextUtils.resolution(props.scene.file.height)}
|
||||
{TextUtils.resolution(
|
||||
props.scene.file.width,
|
||||
props.scene.file.height
|
||||
)}
|
||||
</span>
|
||||
) : (
|
||||
""
|
||||
|
||||
Reference in New Issue
Block a user