File tree Expand file tree Collapse file tree 4 files changed +20
-0
lines changed
webui/src/client/ui/Settings/Studio Expand file tree Collapse file tree 4 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -321,6 +321,7 @@ export function studioSettingsFrom(apiStudioSettings: APIStudioSettings): IStudi
321321 enableQuickLoop : apiStudioSettings . enableQuickLoop ,
322322 forceQuickLoopAutoNext : forceQuickLoopAutoNextFrom ( apiStudioSettings . forceQuickLoopAutoNext ) ,
323323 fallbackPartDuration : apiStudioSettings . fallbackPartDuration ?? DEFAULT_FALLBACK_PART_DURATION ,
324+ enableUserEdits : apiStudioSettings . enableUserEdits ,
324325 }
325326}
326327
@@ -340,6 +341,7 @@ export function APIStudioSettingsFrom(settings: IStudioSettings): APIStudioSetti
340341 enableQuickLoop : settings . enableQuickLoop ,
341342 forceQuickLoopAutoNext : APIForceQuickLoopAutoNextFrom ( settings . forceQuickLoopAutoNext ) ,
342343 fallbackPartDuration : settings . fallbackPartDuration ,
344+ enableUserEdits : settings . enableUserEdits ,
343345 }
344346}
345347
Original file line number Diff line number Diff line change @@ -186,4 +186,5 @@ export interface APIStudioSettings {
186186 forceQuickLoopAutoNext ?: 'disabled' | 'enabled_when_valid_duration' | 'enabled_forcing_min_duration'
187187 minimumTakeSpan ?: number
188188 fallbackPartDuration ?: number
189+ enableUserEdits ?: boolean
189190}
Original file line number Diff line number Diff line change @@ -88,6 +88,11 @@ export interface IStudioSettings {
8888 * Default: 3000
8989 */
9090 fallbackPartDuration ?: number
91+
92+ /**
93+ * Doubleclick changes behaviour as selector for userediting
94+ */
95+ enableUserEdits ?: boolean
9196}
9297
9398export type StudioLight = Omit < DBStudio , 'mappingsWithOverrides' | 'blueprintConfigWithOverrides' >
Original file line number Diff line number Diff line change @@ -248,6 +248,18 @@ export const StudioGenericProperties = withTranslation()(
248248 />
249249 </ label >
250250
251+ < label className = "field" >
252+ < LabelActual label = { t ( 'Double click selection for properties panel' ) } />
253+ < EditAttribute
254+ modifiedClassName = "bghl"
255+ attribute = "settings.enableUserEdits"
256+ obj = { this . props . studio }
257+ type = "checkbox"
258+ collection = { Studios }
259+ />
260+ < span className = "text-s dimmed field-hint" > { t ( 'This feature enables user edits' ) } </ span >
261+ </ label >
262+
251263 < label className = "field" >
252264 < LabelActual label = { t ( 'Enable QuickLoop' ) } />
253265 < EditAttribute
You can’t perform that action at this time.
0 commit comments