File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 3434 position : absolute;
3535 width : 30% ;
3636 height : 30% ;
37+ top : 10% ;
3738 background : # 333 ;
3839 border : 1px solid # 333 ;
3940 border-radius : 50% ;
5051 background : # 000 ;
5152}
5253# sepiaFW-alwaysOn-avatar .avatar-eye .left {
53- top : 10% ;
5454 left : 10% ;
5555}
5656# sepiaFW-alwaysOn-avatar .avatar-eye .right {
57- top : 10% ;
5857 right : 10% ;
5958}
6059# sepiaFW-alwaysOn-avatar .avatar-iris {
136135# sepiaFW-alwaysOn-avatar .avatar-mouth .sleep {
137136 border-radius : 20% ;
138137}
138+ # sepiaFW-alwaysOn-avatar .avatar-mouth .sad {
139+ border-radius : 0% ;
140+ }
139141
140142# sepiaFW-alwaysOn-avatar .avatar-activity {
141143 position : absolute;
Original file line number Diff line number Diff line change @@ -128,6 +128,13 @@ function sepiaFW_build_always_on(){
128128 $activityArea . removeClass ( 'listening' ) ;
129129 $activityArea . removeClass ( 'speaking' ) ;
130130 $activityArea . removeClass ( 'waiting' ) ;
131+
132+ //modify by mood
133+ if ( SepiaFW . assistant . getState ( ) . moodState == 2 ) {
134+ $avatarMouth . addClass ( 'sad' ) ;
135+ } else {
136+ $avatarMouth . removeClass ( 'sad' ) ;
137+ }
131138 }
132139 }
133140 AlwaysOn . avatarLoading = function ( ) {
You can’t perform that action at this time.
0 commit comments