{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":165522651,"defaultBranch":"master","name":"egui","ownerLogin":"emilk","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2019-01-13T15:39:15.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1148717?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1718021107.0","currentOid":""},"activityList":{"items":[{"before":"3f72a32d3dd7b5e0ba995dffc017879838301f78","after":"210fc40144eeb96401fa906cec4a9f68d4af3516","ref":"refs/heads/gh-pages","pushedAt":"2024-06-10T12:06:32.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"Deploying to gh-pages from @ emilk/egui@ca36f3df6319cbba0e2ab4366d51d97caa9e85b6 ๐Ÿš€","shortMessageHtmlLink":"Deploying to gh-pages from @ ca36f3d ๐Ÿš€"}},{"before":"102158a9761f6639c2cb3cb681bbb34c99a5c7b4","after":null,"ref":"refs/heads/emilk/tooltips-are-interactive","pushedAt":"2024-06-10T12:05:07.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"emilk","name":"Emil Ernerfeldt","path":"/emilk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1148717?s=80&v=4"}},{"before":"e2a127a38179941c328e60440ddeabd7b937232a","after":"ca36f3df6319cbba0e2ab4366d51d97caa9e85b6","ref":"refs/heads/master","pushedAt":"2024-06-10T12:05:06.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"emilk","name":"Emil Ernerfeldt","path":"/emilk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1148717?s=80&v=4"},"commit":{"message":"Make sure tooltips are interactable (#4649)\n\nโ€ฆso you can't hover things underneath them.\r\n\r\n* Better version of https://github.com/emilk/egui/pull/4648","shortMessageHtmlLink":"Make sure tooltips are interactable (#4649)"}},{"before":null,"after":"102158a9761f6639c2cb3cb681bbb34c99a5c7b4","ref":"refs/heads/emilk/tooltips-are-interactive","pushedAt":"2024-06-10T11:34:02.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"emilk","name":"Emil Ernerfeldt","path":"/emilk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1148717?s=80&v=4"},"commit":{"message":"Make sure tooltips are interactable\n\nโ€ฆso you can't hover things underneath them.","shortMessageHtmlLink":"Make sure tooltips are interactable"}},{"before":null,"after":"ee2214577999192986b6a4efbdd2cf44b46a8ac0","ref":"refs/heads/emilk/fix-tooltip-transparency","pushedAt":"2024-06-10T11:22:37.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"emilk","name":"Emil Ernerfeldt","path":"/emilk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1148717?s=80&v=4"},"commit":{"message":"Don't hover things under tooltips","shortMessageHtmlLink":"Don't hover things under tooltips"}},{"before":"09089ff3b07144118bcb2bd8866adc33237dc840","after":null,"ref":"refs/heads/emilk/releases.md","pushedAt":"2024-06-10T07:43:06.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"emilk","name":"Emil Ernerfeldt","path":"/emilk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1148717?s=80&v=4"}},{"before":"9f12432bcf8f8275f154cbbb8aabdb8958be9026","after":"e2a127a38179941c328e60440ddeabd7b937232a","ref":"refs/heads/master","pushedAt":"2024-06-10T07:43:05.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"emilk","name":"Emil Ernerfeldt","path":"/emilk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1148717?s=80&v=4"},"commit":{"message":"RELEASES.md: document release process and checklist (#4633)\n\nThis should hopefully be clear enough that someone else than me could do\r\nan egui release at some point, if needed.\r\n\r\n\r\n[Rendered](https://github.com/emilk/egui/blob/emilk/releases.md/RELEASES.md)","shortMessageHtmlLink":"RELEASES.md: document release process and checklist (#4633)"}},{"before":null,"after":"09089ff3b07144118bcb2bd8866adc33237dc840","ref":"refs/heads/emilk/releases.md","pushedAt":"2024-06-07T11:10:42.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"emilk","name":"Emil Ernerfeldt","path":"/emilk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1148717?s=80&v=4"},"commit":{"message":"RELEASES.md: document release process and checklist","shortMessageHtmlLink":"RELEASES.md: document release process and checklist"}},{"before":"d37fe339dcb8355afff90deafed05a262e5a23f0","after":"3f72a32d3dd7b5e0ba995dffc017879838301f78","ref":"refs/heads/gh-pages","pushedAt":"2024-06-07T09:14:56.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"Deploying to gh-pages from @ emilk/egui@9f12432bcf8f8275f154cbbb8aabdb8958be9026 ๐Ÿš€","shortMessageHtmlLink":"Deploying to gh-pages from @ 9f12432 ๐Ÿš€"}},{"before":"54de2865a35934b6308616471bd99308ca047c58","after":null,"ref":"refs/heads/antoine/improve-plot-auto-bounds","pushedAt":"2024-06-07T09:13:18.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"abey79","name":"Antoine Beyeler","path":"/abey79","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49431240?s=80&v=4"}},{"before":"2545939c150379b85517de691da56a46f5ee0d1d","after":"9f12432bcf8f8275f154cbbb8aabdb8958be9026","ref":"refs/heads/master","pushedAt":"2024-06-07T09:13:17.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"abey79","name":"Antoine Beyeler","path":"/abey79","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49431240?s=80&v=4"},"commit":{"message":"Improve behavior of plot auto-bounds with reduced data (#4632)\n\n* Fixes #3808\r\n* Fixes #2307\r\n\r\nThis PR improves the behaviour of auto-bounds with data that:\r\n- is a single point\r\n- where all X values are the same (e.g. vertical line)\r\n- where all Y values are the same (e.g. horizontal line)\r\n\r\nIn all case, the auto-bound now aim to center on the data. For span,\r\nwhen available, it use the same as the other axis. If the data range of\r\nthe other axis is also degenerate, then it defaults to +/- 1.0.\r\n\r\n\r\nhttps://github.com/emilk/egui/assets/49431240/a62d2b5b-7856-4415-8534-83dc58cfac98\r\n\r\n\r\n
\r\nTest code\r\n\r\n```rust\r\n#![cfg_attr(not(debug_assertions), windows_subsystem = \"windows\")] // hide console window on Windows in release\r\n#![allow(rustdoc::missing_crate_level_docs)] // it's an example\r\n\r\nuse eframe::egui;\r\nuse egui_plot::{Legend, Line, Plot, PlotPoints, Points};\r\n\r\nfn main() -> Result<(), eframe::Error> {\r\n env_logger::init(); // Log to stderr (if you run with `RUST_LOG=debug`).\r\n\r\n let options = eframe::NativeOptions {\r\n viewport: egui::ViewportBuilder::default().with_inner_size([350.0, 200.0]),\r\n ..Default::default()\r\n };\r\n eframe::run_native(\r\n \"My egui App with a plot\",\r\n options,\r\n Box::new(|_cc| Ok(Box::::default())),\r\n )\r\n}\r\n\r\n#[derive(Default)]\r\nstruct MyApp {}\r\n\r\nimpl eframe::App for MyApp {\r\n fn update(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) {\r\n let mut plot_rect = None;\r\n egui::CentralPanel::default().show(ctx, |ui| {\r\n if ui.button(\"Save Plot\").clicked() {\r\n ctx.send_viewport_cmd(egui::ViewportCommand::Screenshot);\r\n }\r\n\r\n let my_plot = Plot::new(\"My Plot\").legend(Legend::default());\r\n\r\n // let's create a dummy line in the plot\r\n let inner = my_plot.show(ui, |plot_ui| {\r\n plot_ui.line(\r\n Line::new(PlotPoints::from(vec![\r\n [0.0, 10.0],\r\n [2.0, 10.0],\r\n [3.0, 10.0],\r\n ]))\r\n .name(\"y = 10.0\"),\r\n );\r\n\r\n plot_ui.line(\r\n Line::new(PlotPoints::from(vec![\r\n [10.0, 10.0],\r\n [10.0, 11.0],\r\n [10.0, 12.0],\r\n ]))\r\n .name(\"x = 10.0\"),\r\n );\r\n plot_ui.points(\r\n Points::new(PlotPoints::from(vec![[5.0, 5.0]]))\r\n .name(\"(5,5)\")\r\n .radius(3.0),\r\n );\r\n plot_ui.points(\r\n Points::new(PlotPoints::from(vec![[5.0, 7.0]]))\r\n .name(\"(5,7)\")\r\n .radius(3.0),\r\n );\r\n });\r\n // Remember the position of the plot\r\n plot_rect = Some(inner.response.rect);\r\n });\r\n\r\n // Check for returned screenshot:\r\n let screenshot = ctx.input(|i| {\r\n for event in &i.raw.events {\r\n if let egui::Event::Screenshot { image, .. } = event {\r\n return Some(image.clone());\r\n }\r\n }\r\n None\r\n });\r\n\r\n if let (Some(screenshot), Some(plot_location)) = (screenshot, plot_rect) {\r\n if let Some(mut path) = rfd::FileDialog::new().save_file() {\r\n path.set_extension(\"png\");\r\n\r\n // for a full size application, we should put this in a different thread,\r\n // so that the GUI doesn't lag during saving\r\n\r\n let pixels_per_point = ctx.pixels_per_point();\r\n let plot = screenshot.region(&plot_location, Some(pixels_per_point));\r\n // save the plot to png\r\n image::save_buffer(\r\n &path,\r\n plot.as_raw(),\r\n plot.width() as u32,\r\n plot.height() as u32,\r\n image::ColorType::Rgba8,\r\n )\r\n .unwrap();\r\n eprintln!(\"Image saved to {path:?}.\");\r\n }\r\n }\r\n }\r\n}\r\n```\r\n\r\n
","shortMessageHtmlLink":"Improve behavior of plot auto-bounds with reduced data (#4632)"}},{"before":"291061f80bf38af2515c1097142ab30f7dbc686b","after":"54de2865a35934b6308616471bd99308ca047c58","ref":"refs/heads/antoine/improve-plot-auto-bounds","pushedAt":"2024-06-07T09:02:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"abey79","name":"Antoine Beyeler","path":"/abey79","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49431240?s=80&v=4"},"commit":{"message":"Add comment","shortMessageHtmlLink":"Add comment"}},{"before":null,"after":"291061f80bf38af2515c1097142ab30f7dbc686b","ref":"refs/heads/antoine/improve-plot-auto-bounds","pushedAt":"2024-06-06T17:08:26.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"abey79","name":"Antoine Beyeler","path":"/abey79","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49431240?s=80&v=4"},"commit":{"message":"Improve behavior of plot auto-bounds with reduced data","shortMessageHtmlLink":"Improve behavior of plot auto-bounds with reduced data"}},{"before":"e2656e1f71ec56850ea26bd0ca9a29180494b34e","after":"d37fe339dcb8355afff90deafed05a262e5a23f0","ref":"refs/heads/gh-pages","pushedAt":"2024-06-06T13:42:40.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"Deploying to gh-pages from @ emilk/egui@2545939c150379b85517de691da56a46f5ee0d1d ๐Ÿš€","shortMessageHtmlLink":"Deploying to gh-pages from @ 2545939 ๐Ÿš€"}},{"before":"f42e087ccb925af764180ad473900055f2742df8","after":null,"ref":"refs/heads/antoine/color-lerp","pushedAt":"2024-06-06T13:41:11.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"emilk","name":"Emil Ernerfeldt","path":"/emilk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1148717?s=80&v=4"}},{"before":"1f008fb7306fb2eca3aaf05cec0f3a83fed7ad2c","after":"2545939c150379b85517de691da56a46f5ee0d1d","ref":"refs/heads/master","pushedAt":"2024-06-06T13:41:11.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"emilk","name":"Emil Ernerfeldt","path":"/emilk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1148717?s=80&v=4"},"commit":{"message":"Add `Color32::lerp_to_gamma` (#4627)\n\nAdd `lerp_to_gamma` utility function to `Color32`\r\n\r\n---------\r\n\r\nCo-authored-by: Emil Ernerfeldt ","shortMessageHtmlLink":"Add Color32::lerp_to_gamma (#4627)"}},{"before":"7a4b4cea67f91fdb84f837696db24b5321878845","after":"e2656e1f71ec56850ea26bd0ca9a29180494b34e","ref":"refs/heads/gh-pages","pushedAt":"2024-06-06T13:37:50.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"Deploying to gh-pages from @ emilk/egui@1f008fb7306fb2eca3aaf05cec0f3a83fed7ad2c ๐Ÿš€","shortMessageHtmlLink":"Deploying to gh-pages from @ 1f008fb ๐Ÿš€"}},{"before":"29b12e1760393c3d1eb221796ac313189d33c1c3","after":"1f008fb7306fb2eca3aaf05cec0f3a83fed7ad2c","ref":"refs/heads/master","pushedAt":"2024-06-06T13:36:20.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"emilk","name":"Emil Ernerfeldt","path":"/emilk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1148717?s=80&v=4"},"commit":{"message":"ScrollArea: Prevent drag interaction outside the area (#4611)\n\n\r\n\r\n* Closes https://github.com/emilk/egui/issues/4349","shortMessageHtmlLink":"ScrollArea: Prevent drag interaction outside the area (#4611)"}},{"before":null,"after":"e799c2ad700f860fa728562503f14cb256d7ac9d","ref":"refs/heads/emilk/group","pushedAt":"2024-06-06T11:58:47.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"emilk","name":"Emil Ernerfeldt","path":"/emilk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1148717?s=80&v=4"},"commit":{"message":"Experiment with a new `Group` container","shortMessageHtmlLink":"Experiment with a new Group container"}},{"before":"1188a2d2bf1f5f81303507d65ffd3bcee06eca53","after":"7a4b4cea67f91fdb84f837696db24b5321878845","ref":"refs/heads/gh-pages","pushedAt":"2024-06-06T11:11:24.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"Deploying to gh-pages from @ emilk/egui@29b12e1760393c3d1eb221796ac313189d33c1c3 ๐Ÿš€","shortMessageHtmlLink":"Deploying to gh-pages from @ 29b12e1 ๐Ÿš€"}},{"before":"28519fca6beae32a682d0ba322283da8ae944b3b","after":null,"ref":"refs/heads/emilk/easing","pushedAt":"2024-06-06T11:09:53.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"emilk","name":"Emil Ernerfeldt","path":"/emilk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1148717?s=80&v=4"}},{"before":"3d632cd3335fdb99c5aed3b6e31b9b5945af61fa","after":"29b12e1760393c3d1eb221796ac313189d33c1c3","ref":"refs/heads/master","pushedAt":"2024-06-06T11:09:52.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"emilk","name":"Emil Ernerfeldt","path":"/emilk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1148717?s=80&v=4"},"commit":{"message":"Easing functions (#4630)\n\nThis adds most of the \"standard\" easing functions from\r\nhttps://easings.net/ to `emath::easing`, and adds helpers in `egui` for\r\nusing them.\r\n\r\nIn particular there is now `ctx.animate_bool_with_easing` and\r\n`ctx.animate_bool_responsive`, that uses a cubic easing function.\r\n\r\nAll animations in egui now uses cubic ease-out, for a more responsive\r\nfeeling (fast at the start, slower towards the end).","shortMessageHtmlLink":"Easing functions (#4630)"}},{"before":"bb7ad396b79e6afb2fe7bbfc2d9415b115f0d254","after":"28519fca6beae32a682d0ba322283da8ae944b3b","ref":"refs/heads/emilk/easing","pushedAt":"2024-06-06T09:11:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"emilk","name":"Emil Ernerfeldt","path":"/emilk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1148717?s=80&v=4"},"commit":{"message":"Use cubic ease-out as the default easing function in egui","shortMessageHtmlLink":"Use cubic ease-out as the default easing function in egui"}},{"before":"0dcaba12c624a66a4edb1594946629bdcc3539bf","after":"f42e087ccb925af764180ad473900055f2742df8","ref":"refs/heads/antoine/color-lerp","pushedAt":"2024-06-06T09:02:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"abey79","name":"Antoine Beyeler","path":"/abey79","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49431240?s=80&v=4"},"commit":{"message":"missing `use`","shortMessageHtmlLink":"missing use"}},{"before":"f65115f2b1545abe322b51eb9b1ef402f397e3ea","after":"0dcaba12c624a66a4edb1594946629bdcc3539bf","ref":"refs/heads/antoine/color-lerp","pushedAt":"2024-06-06T09:01:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"abey79","name":"Antoine Beyeler","path":"/abey79","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49431240?s=80&v=4"},"commit":{"message":"Update crates/ecolor/src/color32.rs\n\nCo-authored-by: Emil Ernerfeldt ","shortMessageHtmlLink":"Update crates/ecolor/src/color32.rs"}},{"before":"5d695338fdcb58f192e6937dde1d75ab71ffaf33","after":"bb7ad396b79e6afb2fe7bbfc2d9415b115f0d254","ref":"refs/heads/emilk/easing","pushedAt":"2024-06-06T08:39:02.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"emilk","name":"Emil Ernerfeldt","path":"/emilk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1148717?s=80&v=4"},"commit":{"message":"Use quadratic easing for more responsive collapsing headers","shortMessageHtmlLink":"Use quadratic easing for more responsive collapsing headers"}},{"before":"73078c4f53348398caaa923bc54c7eec34c18125","after":"5d695338fdcb58f192e6937dde1d75ab71ffaf33","ref":"refs/heads/emilk/easing","pushedAt":"2024-06-06T08:38:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"emilk","name":"Emil Ernerfeldt","path":"/emilk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1148717?s=80&v=4"},"commit":{"message":"Use quadratic easing for more responsive fade-in and fade-out of areas","shortMessageHtmlLink":"Use quadratic easing for more responsive fade-in and fade-out of areas"}},{"before":null,"after":"73078c4f53348398caaa923bc54c7eec34c18125","ref":"refs/heads/emilk/easing","pushedAt":"2024-06-06T08:37:16.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"emilk","name":"Emil Ernerfeldt","path":"/emilk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1148717?s=80&v=4"},"commit":{"message":"Add easing functions to emath, for animations","shortMessageHtmlLink":"Add easing functions to emath, for animations"}},{"before":"9a19693c0dfd11df0138a213a05a984d2460ad58","after":"1188a2d2bf1f5f81303507d65ffd3bcee06eca53","ref":"refs/heads/gh-pages","pushedAt":"2024-06-06T08:32:05.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"Deploying to gh-pages from @ emilk/egui@3d632cd3335fdb99c5aed3b6e31b9b5945af61fa ๐Ÿš€","shortMessageHtmlLink":"Deploying to gh-pages from @ 3d632cd ๐Ÿš€"}},{"before":"02e7a44660646cb21e46eb6fcf62c512cab12fe7","after":null,"ref":"refs/heads/fix-first-frame-resize","pushedAt":"2024-06-06T08:30:33.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"emilk","name":"Emil Ernerfeldt","path":"/emilk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1148717?s=80&v=4"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEYRCt-wA","startCursor":null,"endCursor":null}},"title":"Activity ยท emilk/egui"}