diff options
author | bob <bcz@cs.brown.edu> | 2019-10-24 11:54:03 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-10-24 11:54:03 -0400 |
commit | c97b98c165e318da787361b8fc11382b0b98afa4 (patch) | |
tree | 37ce9fad97bf9761bb4da0313fbf61e3567eeac4 /src/client/documents/Documents.ts | |
parent | 31166219e473e105b8fd9d49627fd1df58822c55 (diff) |
several fixes to audioboxes.
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index f26594e04..d1fcabc4a 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -171,7 +171,7 @@ export namespace Docs { }], [DocumentType.AUDIO, { layout: { view: AudioBox, dataField: data }, - options: { height: 35, backgroundColor: "lightGray", borderRounding: "20%" } + options: { height: 35, backgroundColor: "lightGray" } }], [DocumentType.PDF, { layout: { view: PDFBox, dataField: data }, @@ -714,6 +714,7 @@ export namespace DocUtils { linkDocProto.anchor2Timecode = target.doc.currentTimecode; linkDocProto.layoutKey1 = DocuLinkBox.LayoutString("anchor1"); linkDocProto.layoutKey2 = DocuLinkBox.LayoutString("anchor2"); + linkDocProto.borderRounding = "20"; linkDocProto.width = linkDocProto.height = 0; linkDocProto.isBackground = true; linkDocProto.isButton = true; |