fix build warning; update build scripts
This commit is contained in:
1 parent
31c1dea1de
commit
7e97211c24
4 files changed
+11
-8
No files matched your search
@@ -0,0 +1,3 @@
|
||||
build
|
||||
~*
|
||||
*~
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
language: node_js
|
||||
|
||||
node_js:
|
||||
- lts/*
|
||||
- 10/*
|
||||
|
||||
sudo: required
|
||||
|
||||
@@ -22,7 +22,7 @@ cache:
|
||||
- /tmp/liftoff
|
||||
|
||||
install:
|
||||
- npm install @elementaryos/houston
|
||||
- npm i -g @elementaryos/houston
|
||||
|
||||
script:
|
||||
- houston ci
|
||||
|
||||
@@ -45,9 +45,11 @@ namespace ColorPicker {
|
||||
app_window.show_all ();
|
||||
|
||||
var quit_action = new SimpleAction ("quit", null);
|
||||
|
||||
|
||||
add_action (quit_action);
|
||||
add_accelerator ("<Control>q", "app.quit", null);
|
||||
|
||||
//add_accelerator ("<Control>q", "app.quit", null);
|
||||
set_accels_for_action ("app.quit", {"<Control>q"});
|
||||
|
||||
quit_action.activate.connect (() => {
|
||||
if (app_window != null) {
|
||||
|
||||
@@ -33,10 +33,8 @@ namespace ColorPicker.Widgets {
|
||||
|
||||
const string bright_border_color_string = "#FFFFFF";
|
||||
private Gdk.RGBA bright_border_color = Gdk.RGBA();
|
||||
|
||||
private int mouse_pos_x = 0;
|
||||
private int mouse_pos_y = 0;
|
||||
|
||||
|
||||
|
||||
// 1. Snapsize is the amount of pixel going to be magnified by the zoomlevel.
|
||||
// 2. The snapsize must be odd to have a 1px magnifier center.
|
||||
// 3. Asure that snapsize*max_zoomlevel+shadow_width*2 is smaller than 2 * get_screen ().get_display ().get_maximal_cursor_size()
|
||||
|
||||
Reference in new issue
Block a user