Closed FantasyKingdom closed 5 months ago
有些字幕图片非常大,是1920x1080,虽然里面的字幕文字只占其中一部分,周围的透明部分仍然抢占了界面的交换,导致界面无法点击。 这样改可以让所有字幕显示时都不影响界面的操作。 VideoSubtitleView(model: playerCoordinator.subtitleModel) .allowsHitTesting(false)
有些字幕图片非常大,是1920x1080,虽然里面的字幕文字只占其中一部分,周围的透明部分仍然抢占了界面的交换,导致界面无法点击。 这样改可以让所有字幕显示时都不影响界面的操作。 VideoSubtitleView(model: playerCoordinator.subtitleModel) .allowsHitTesting(false)