Skip to content

Commit

Permalink
+1
Browse files Browse the repository at this point in the history
  • Loading branch information
nin-jin committed Nov 1, 2023
1 parent a4f304f commit 7441e90
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 16 deletions.
33 changes: 17 additions & 16 deletions speech/page/page.view.tree
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,6 @@ $piterjs_speech_page $mol_page
enabled <= editing false
hint \Название
tools /
<= Poster_copy $mol_pick
hint \Скачать постер
trigger_content /
<= Poster_copy_icon $mol_icon_camera
bubble_content /
<= Poster_1_1 $mol_button_download
blob <= poster_1_1_blob? $mol_blob
file_name <= poster_1_1_name \poster_universal.png
title \1:1
<= Poster_16_19 $mol_button_download
blob <= poster_16_9_blob? $mol_blob
file_name <= poster_16_9_name \poster_fhd.png
title \16:9
<= Public $mol_check_icon
checked? <=> speech_public? false
Icon <= Public_icon $mol_icon_eye
<= Start $mol_pick_time
value_moment? <=> start?
enabled <= editing false
Expand Down Expand Up @@ -57,3 +41,20 @@ $piterjs_speech_page $mol_page
<= Speaker $piterjs_speaker_snippet
speaker <= speaker $piterjs_speaker
editing <= editing false
foot /
<= Public $mol_check_icon
checked? <=> speech_public? false
Icon <= Public_icon $mol_icon_eye
<= Poster_copy $mol_pick
hint \Скачать постер
trigger_content /
<= Poster_copy_icon $mol_icon_camera
bubble_content /
<= Poster_1_1 $mol_button_download
blob <= poster_1_1_blob? $mol_blob
file_name <= poster_1_1_name \poster_universal.png
title \1:1
<= Poster_16_19 $mol_button_download
blob <= poster_16_9_blob? $mol_blob
file_name <= poster_16_9_name \poster_fhd.png
title \16:9
5 changes: 5 additions & 0 deletions speech/page/page.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ namespace $.$$ {
return super.Public()
}

override Poster_copy() {
if( !this.editing() ) return null!
return super.Poster_copy()
}

override poster_1_1_name() {
return `${ this.speaker().title() } - ${ this.title() } 1-1.png`
}
Expand Down

0 comments on commit 7441e90

Please sign in to comment.