From b180070ba33fa8f3e205c71bc8dd0d409e9638cc Mon Sep 17 00:00:00 2001 From: John Preston Date: Sat, 28 Oct 2023 20:48:50 +0400 Subject: [PATCH] Improve very small quote areas with icons. --- Telegram/Resources/icons/chat/mini_quote.png | Bin 374 -> 1544 bytes .../Resources/icons/chat/mini_quote@2x.png | Bin 570 -> 1710 bytes .../Resources/icons/chat/mini_quote@3x.png | Bin 849 -> 1912 bytes Telegram/SourceFiles/ui/chat/chat.style | 2 +- Telegram/lib_ui | 2 +- 5 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/Resources/icons/chat/mini_quote.png b/Telegram/Resources/icons/chat/mini_quote.png index 08a844820e4623791cdd92909d45cdcaf4cd7efd..7c021f6ef96e5b0666950b1998eff6c7ca88bcbc 100644 GIT binary patch literal 1544 zcmbVMO=uid9G^zfHBG5dDqBD5IPs8TXXnjqW_M@Ew8q^{ccYV}>DH`)if`Y%-5s(s zZ!$BR-3_D^A!;uY9DhH| zFc01^b9q0nzoa5!MW8_nI8wJ9ie{Lhy>$no8SJwKTrzEqyZOaMjx`O9o04^)J4swN zGxIJ!Fh7<<^D{^>xV?MWp}I;5EbK$JZdGhgt!rG9SEcLVSm4+u#Glc);Xojp*C*H{ zaWShzL>>VkvT?c^j7bSa+09BoiV7emNHQ-06^N=Vv+a+g;#{MsPNqiM!st%p%D(TY zf>5i~BDH9QxFtbU6h#1%AW1w$@Lt3AVV$?V{tiP5d&o5%-y}90Fv0?<`Wi=7ZP{Qs zU0T~~`-yr?s6$5(BOtJ;2{cd_=TzNFQ@DWyT)`H$eUD^U%~0?>l$#4wAEjZi6(qXCX4 zD0%~w=8OS-cu%l_)FN>$NDVeESi*v1mpHcTMm0$)#HE6%cG0F5x~^tz&xba`*_6gn znE=UPAV|p}Ljdn#Gz_aaD#bldVph6U6x5l9$tk~e%$L4)|pha6NV@moT;cme^ zQuJ%k#lt1)t$U`EK$RDQI&9e?{L{qd-5oXCfzw71EW0g;Zn{kj+q84Jv_)MX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V4%Eo_oG!SZ}iq& zXgR#LFu$+!Y}@6Zt|fl&G_Ss_dtq}SbGB{ypHGb+N|v8rcc_T`AQC*&x~H*fcw7z6Q=2;a{syewNxA?4 delta 558 zcmZ3-yNhLlc)bD#69WUoABne%ffQqLkh>GZx^prwfgG3A2+uTMUj{88n}dO|J(Gb2 zqy&hifS7@Sc>yB>GmvHki7jA)%PK5jMzBE&*R&;l1}a

EamT!TWZ~?p22z1lqm| z2yjb(tal68D7Z%C&703$O>5UbV7|eXc{D^UOF*ZFxq7RoppJ^~ga@h#3au_4ETxGF zl4c)^W);uM`TD-@^Z9e<@`O5Dl;1eqX#D@$!EXNivuVpOpET%sSTMs!tx)%7PS~`k zhaYaZ|Ni*nLbb^UzifV1d2iDicBx(K)P*<;mIbYR{ITOfee;_mAs-U^Po^~eT~NJO z?uLrzr^|Kw|0`-9TcZ05%dIBa=yrH3m(~c%N zD!=}^Ymvqbz3JXw^@_Xd@9LdZ>QZ|Aro?Ir9~*PqA(J0`87mYxLVjl-G5L_R!aPEx z`{?h#e5SXy$#x$th_RZx?{1#M$*C943mg~t`;KL8n6^}JQ=*B~&UM{q&!$a&Y!NZj zZ~64ote4k+sj+Kkl0AO%X;Dvm4(F6T+k;jfxv+lO)~Mb;O+J@Z+&@ZdP3=-&mihei n&bxWPGj|A;DZDulU-p1=k)5CKrEg8Opt$pN^>bP0l+XkK^8@hs diff --git a/Telegram/Resources/icons/chat/mini_quote@3x.png b/Telegram/Resources/icons/chat/mini_quote@3x.png index 2399ff033c025b7aad46c14c65b065d5344b0446..2c572bd02c85bec4ee2d72543a704b64a225b33f 100644 GIT binary patch literal 1912 zcmbVNeNYr-9A41TJW((|LLge#G)(XI)QA{H{R2ldC2aa&)EK65u#B()zXRuT=-mTuw6UDrncaPN_j#Y+ z@A-Z0=G>fx6Etxe2!bYLXW8<=9Rug{Pep=j`U|=@z-^qEwOodv@srgv0@}4F7J^3i zagKZ?-@cfn1)q*$1ShKt_(Xt)AWK?6q-YPTz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bA!69WUojfA`lK#H+A$lZxy-8q?;K#oglglC$sFM}44&B4Ifp2@%h zQUb(MK+M3vynvB`8AvmN#1=5YWepZEBiJB?x6N~S7#Ns#d%8G=L~yXa7__mUhZdEX|&K-Do| zY7;$V_}E$4f4+U|yE5d`gJPWtzU!|$zu6I>BgX00>U1&3tdM8Y>#x7+%^eIpR<8`< znt18Z=g-D|AAkMwN}ix9*8T87@ssv;_B}s3q&Qb!h<(%l_W#KMlt5^fB)KA%k6Pn9C%<3 zi`e3+9vMb6J6x5lf2FE723jb3s9bqj(!mhb8YkFuH*fkkAu$%UHy%J$7BbVkR9n)x zPd_!9etM(fq`1x&1v{b695ZP)K_1U1y>5#O-c9i0wwUql-?jRr?YG&R8Ebo3xnndf zCf>}++kQJKVfp3G=JV4Z9{`o~r@M?};EA}bQEyG0W$g)_y z=@O+20~8J%ObFnq>APE>v{9zty{5OnpWjfag7a;ewG0oxvWe5tMF;8*=~q`)D*iH` ze6l03{cvJN?j3G+rdd+k|9G~ABpi5P-DY@V$1eB9f_!bB%dWrvKZQ|{=eork{&?mz zg~o%S66_WdaXmY}8x#Z4E1&oXALcA`s5pCIg>3)v zf~ExrZzecY+046{Gwu9y{hPLLLU&FNZ$Q8m2kaN~#wy%3b>89ZJ6T-G@yGywpV CCvKSl diff --git a/Telegram/SourceFiles/ui/chat/chat.style b/Telegram/SourceFiles/ui/chat/chat.style index fd5affd421..e0fe81fdcb 100644 --- a/Telegram/SourceFiles/ui/chat/chat.style +++ b/Telegram/SourceFiles/ui/chat/chat.style @@ -57,7 +57,7 @@ messageTextStyle: TextStyle(defaultTextStyle) { blockquote: QuoteStyle(messageQuoteStyle) { padding: margins(10px, 2px, 20px, 2px); icon: icon{{ "chat/mini_quote", windowFg }}; - iconPosition: point(4px, 2px); + iconPosition: point(4px, 4px); } pre: QuoteStyle(messageQuoteStyle) { header: 20px; diff --git a/Telegram/lib_ui b/Telegram/lib_ui index 611224c52f..272a23e9bc 160000 --- a/Telegram/lib_ui +++ b/Telegram/lib_ui @@ -1 +1 @@ -Subproject commit 611224c52f3192f616018fc7a2c5930667531084 +Subproject commit 272a23e9bce7d03cc167d3dd4589ce674398c795