bugfix
This commit is contained in:
parent
d980cdcb1c
commit
8d91226805
@ -1 +1 @@
|
||||
<svg t="1749634403553" class="icon" viewBox="0 0 1029 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="11427" width="100%" height="100%"><path d="M514.547264 5.094527C233.329353 5.094527 5.094527 233.329353 5.094527 514.547264s228.234826 509.452736 509.452737 509.452736 509.452736-228.234826 509.452736-509.452736S795.765174 5.094527 514.547264 5.094527z m62.662686 731.064677H332.163184c-21.397015 0-38.718408-17.321393-38.718408-38.718408V452.39403c0-34.642786 41.775124-51.454726 65.719403-27.510448l245.046766 245.046766c24.453731 24.453731 7.132338 66.228856-27.000995 66.228856z m158.439801-158.949254c0 34.642786-41.775124 51.454726-65.719403 27.510448L424.883582 359.673632c-24.453731-24.453731-7.132338-65.719403 27.510448-65.719403h245.046766c21.397015 0 38.718408 17.321393 38.718408 38.718408l-0.509453 244.537313z" fill="#1afa29" p-id="11428"></path></svg>
|
||||
<svg t="1749634403553" class="icon" viewBox="0 0 1029 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="11427" width="100%" height="100%"><path d="M514.547264 5.094527C233.329353 5.094527 5.094527 233.329353 5.094527 514.547264s228.234826 509.452736 509.452737 509.452736 509.452736-228.234826 509.452736-509.452736S795.765174 5.094527 514.547264 5.094527z m62.662686 731.064677H332.163184c-21.397015 0-38.718408-17.321393-38.718408-38.718408V452.39403c0-34.642786 41.775124-51.454726 65.719403-27.510448l245.046766 245.046766c24.453731 24.453731 7.132338 66.228856-27.000995 66.228856z m158.439801-158.949254c0 34.642786-41.775124 51.454726-65.719403 27.510448L424.883582 359.673632c-24.453731-24.453731-7.132338-65.719403 27.510448-65.719403h245.046766c21.397015 0 38.718408 17.321393 38.718408 38.718408l-0.509453 244.537313z" fill="#61C554" p-id="11428"></path></svg>
|
||||
|
Before Width: | Height: | Size: 883 B After Width: | Height: | Size: 883 B |
@ -1 +1 @@
|
||||
<svg t="1749634221894" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7125" width="100%" height="100%"><path d="M512 32c265.088 0 480 214.912 480 480 0 265.088-214.912 480-480 480-265.088 0-480-214.912-480-480C32 246.912 246.912 32 512 32z m224 448H288a32 32 0 0 0 0 64h448a32 32 0 0 0 0-64z" fill="#eab65d" p-id="7126"></path></svg>
|
||||
<svg t="1749634221894" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7125" width="100%" height="100%"><path d="M512 32c265.088 0 480 214.912 480 480 0 265.088-214.912 480-480 480-265.088 0-480-214.912-480-480C32 246.912 246.912 32 512 32z m224 448H288a32 32 0 0 0 0 64h448a32 32 0 0 0 0-64z" fill="#F4BF4F" p-id="7126"></path></svg>
|
||||
|
Before Width: | Height: | Size: 379 B After Width: | Height: | Size: 379 B |
@ -84,9 +84,9 @@ bricks.Menu = class extends bricks.VBox {
|
||||
var w = new bricks.HBox({cheight:this.item_cheight||2});
|
||||
var iw, tw;
|
||||
if (item.icon){
|
||||
iw = new bricks.Icon({url:item.icon});
|
||||
iw = new bricks.Icon({url:item.icon, rate:1.3});
|
||||
} else {
|
||||
iw = new bricks.BlankIcon({});
|
||||
iw = new bricks.BlankIcon({rate:1.3});
|
||||
}
|
||||
w.add_widget(iw);
|
||||
tw = new bricks.Text({
|
||||
|
@ -417,10 +417,10 @@ bricks.PopupWindow = class extends bricks.Popup {
|
||||
tip:'Destroy this window'
|
||||
},
|
||||
{
|
||||
name:'minimax',
|
||||
name:'minimize',
|
||||
icon:bricks_resource('imgs/app_minimize.svg'),
|
||||
dynsize:true,
|
||||
tip:'minimax this window'
|
||||
tip:'minimize this window'
|
||||
},
|
||||
{
|
||||
name:'fullscreen',
|
||||
@ -432,8 +432,8 @@ bricks.PopupWindow = class extends bricks.Popup {
|
||||
});
|
||||
this.title_bar.add_widget(this.tb_w);
|
||||
this.tb_w.bind('delete', this.destroy.bind(this));
|
||||
this.tb_w.bind('minimax', this.dismiss.bind(this));
|
||||
this.tb_w.bind('fullscreen', this.enter_fullscreen.bind(this));
|
||||
this.tb_w.bind('minimize', this.dismiss.bind(this));
|
||||
this.tb_w.bind('fullscreen', this.content_w.enter_fullscreen.bind(this.content_w));
|
||||
if (this.title){
|
||||
this.title_w = new bricks.Text({text:this.title});
|
||||
this.title_bar.add_widget(this.title_w);
|
||||
|
Loading…
Reference in New Issue
Block a user