|
@@ -472,22 +472,22 @@ abstract class ReaderActivity : AppCompatActivity() {
|
|
onDismissListener = Runnable { onMediaBoxDismissed() }
|
|
onDismissListener = Runnable { onMediaBoxDismissed() }
|
|
onViewerEditTabAddButtonClickListener = object : ViewerEditView.OnViewerEditTabAddButtonClickListener {
|
|
onViewerEditTabAddButtonClickListener = object : ViewerEditView.OnViewerEditTabAddButtonClickListener {
|
|
override fun onTabTextBoxAddButtonClick(textBoxTabView: TextBoxTabView) {
|
|
override fun onTabTextBoxAddButtonClick(textBoxTabView: TextBoxTabView) {
|
|
- hideAllToolbars()
|
|
|
|
|
|
+ dismiss()
|
|
viewModel.setTextBoxAttribute(textBoxTabView.getTextBoxAttribute())
|
|
viewModel.setTextBoxAttribute(textBoxTabView.getTextBoxAttribute())
|
|
}
|
|
}
|
|
|
|
|
|
override fun onTabSignatureAddButtonClick(signatureTabView: SignatureTabView) {
|
|
override fun onTabSignatureAddButtonClick(signatureTabView: SignatureTabView) {
|
|
- hideAllToolbars()
|
|
|
|
|
|
+ dismiss()
|
|
viewModel.setSignatureAttribute(signatureTabView.getSignatureAttribute())
|
|
viewModel.setSignatureAttribute(signatureTabView.getSignatureAttribute())
|
|
}
|
|
}
|
|
|
|
|
|
override fun onTabStampAddButtonClick(stampTabView: StampTabView) {
|
|
override fun onTabStampAddButtonClick(stampTabView: StampTabView) {
|
|
- hideAllToolbars()
|
|
|
|
|
|
+ dismiss()
|
|
viewModel.setStampAttribute(stampTabView.getStampAttribute())
|
|
viewModel.setStampAttribute(stampTabView.getStampAttribute())
|
|
}
|
|
}
|
|
|
|
|
|
override fun onTabShapeAddButtonClick(shapeTabView: ShapeTabView) {
|
|
override fun onTabShapeAddButtonClick(shapeTabView: ShapeTabView) {
|
|
- hideAllToolbars()
|
|
|
|
|
|
+ dismiss()
|
|
viewModel.setShapeAttribute(shapeTabView.getShapeAttribute())
|
|
viewModel.setShapeAttribute(shapeTabView.getShapeAttribute())
|
|
}
|
|
}
|
|
}
|
|
}
|